code: def new_scope(self, new_scope={}):
          
          old_scopes, self.scopes = self.scopes, self.scopes.new_child(new_scope)
          yield
          self.scopes = old_scopes
docs: Add a new innermost scope for the duration of the with block.
  
          Args:
              new_scope (dict-like): The scope to add.