Lines Matching refs:globals
28 is determined by the __name__ in the frame globals.
585 def run(self, cmd, globals=None, locals=None):
588 globals defaults to __main__.dict; locals defaults to globals.
590 if globals is None:
592 globals = __main__.__dict__
594 locals = globals
600 exec(cmd, globals, locals)
607 def runeval(self, expr, globals=None, locals=None):
610 globals defaults to __main__.dict; locals defaults to globals.
612 if globals is None:
614 globals = __main__.__dict__
616 locals = globals
620 return eval(expr, globals, locals)
627 def runctx(self, cmd, globals, locals):
630 self.run(cmd, globals, locals)