Sha256: bbb1fff7ddd2e67bcd4d216fd369eff28518714ffda18e5cf028b19c9343d1e0
Contents?: true
Size: 524 Bytes
Versions: 20
Compression:
Stored size: 524 Bytes
Contents
import sys PY3 = sys.version_info[0] == 3 if PY3: import builtins else: import __builtin__ as builtins if PY3: exec_ = getattr(builtins, 'exec') else: def exec_(_code_, _globals_=None, _locals_=None): """Execute code in a namespace.""" if _globals_ is None: frame = sys._getframe(1) _globals_ = frame.f_globals if _locals_ is None: _locals_ = frame.f_locals del frame elif _locals_ is None: _locals_ = _globals_ exec("""exec _code_ in _globals_, _locals_""")
Version data entries
20 entries across 20 versions & 1 rubygems