class_docstr: A Python execution environment.
  
  Encapsulates a namespace for variable lookup
class_docstr_tok: ["A","Python","execution","environment",".","Encapsulates","a","namespace","for","variable","lookup"]
docstr: Return a new Environment with an extra namespace added.
  
  This namespace will be used only for variables that are not found
  in any existing namespace, i.e., it is "outside" them all.
docstr_tok: ["Return","a","new","Environment","with","an","extra","namespace","added",".","This","namespace","will","be","used","only","for","variables","that","are","not","found","in","any","existing","namespace",",","i.e.",",","it","is","``","outside","''","them","all","."]
code: def with_outer_namespace(self, outer_namespace):
      """
      Return a new Environment with an extra namespace added.
  
      This namespace will be used only for variables that are not found
      in any existing namespace, i.e., it is "outside" them all.
      """
      return Environment(self.namespaces + [outer_namespace])
  
imports: from __future__ import annotations
  from collections.abc import MutableMapping
  from contextlib import suppress
  from dataclasses import dataclass
  from functools import lru_cache
  from typing import TYPE_CHECKING
label_desc: Use image node_id 2 for calling the Environment obj's underlying member method code with example usage: obj.with_outer_namespace(outer_namespace) and returns: Environment