Searched defs:__code__ (Results 1 - 3 of 3) sorted by relevance
/external/python/cpython2/Lib/plat-mac/ |
H A D | appletrawmain.py | 58 __code__ = marshal.load(_fp) variable 60 # Again, we create an almost-normal environment (only __code__ is 64 exec __code__
|
/external/python/cpython3/Lib/test/ |
H A D | test_sys_settrace.py | 273 self.compare_events(func.__code__.co_firstlineno, 283 self.compare_events(func.__code__.co_firstlineno, 336 self.compare_events(generator_example.__code__.co_firstlineno, 455 frame.f_lineno == f.__code__.co_firstlineno + 2): 509 if not self.done and frame.f_code == self.function.__code__: 836 __code__ = code variable in class:.test_jump_to_firstlineno.fake_function
|
H A D | test_inspect.py | 109 self.istest(inspect.iscode, 'mod.spam.__code__') 447 self.assertEqual(inspect.getsourcefile(m.x.__code__), '<string>') 469 self.assertSourceEqual(mod.eggs.__code__, 12, 18) 2080 # __code__, __annotations__, __defaults__, __name__, 2085 self.__code__ = func.__code__ 2139 __code__ = func.__code__ variable in class:TestSignatureObject.test_signature_functionlike_class.funclike 3272 setcomp_code = make_set.__code__.co_consts[1]
|
Completed in 186 milliseconds