code: def update(self, other):
          
  
          self.globals.update(other.globals)
          self.locals.update(other.locals)
          return self
docs: Updates this scope with the content of another scope.
  
          Arguments
          ---------
          other: a :class:`Scope` instance.
  
          Returns
          -------
          Scope
              The updated scope (self).