code: def environment(self):
      env = os.environ.copy()
  
      if self.cc:
          env["CC"] = self.cc
  
      if self.cxx:
          env["CXX"] = self.cxx
  
      return env
  
file_path: arrow/dev/archery/archery/lang/cpp.py
imports: import os
  from ..utils.cmake import CMakeDefinition
label_desc: Use image node_id 9 for calling the CppConfiguration obj's underlying member method code with example usage: obj.environment() and returns: env