code: def pull_locals(self, frame):
          
          for name in frame.identifiers.undeclared:
              self.writeline('l_%s = context.resolve(%r)' % (name, name))
docs: Pull all the references identifiers into the local scope.