Module ImportFrom alias Import alias Import alias FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Str Assert CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Str Assert CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Str Str Str Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad Expr Yield NameLoad decorator_list Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIn Str NameLoad Assert CompareIn Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Str Assert UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call NameLoad Str NameLoad Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases body Pass decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list If NameLoad body FunctionDef arguments args defaults body Pass decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assert CompareIn Str Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assert CompareEq Call NameLoad NameLoad NameLoad decorator_list
N/A __future__ generators N/A py N/A new test_newcode N/A N/A N/A N/A N/A source i = 3 N/A co N/A compile source exec N/A code N/A N/A N/A py code Code co N/A newco N/A N/A code new N/A N/A co newco N/A test_ne N/A N/A N/A N/A N/A code1 N/A N/A N/A py code Code N/A compile foo = "bar" exec N/A N/A code1 code1 N/A code2 N/A N/A N/A py code Code N/A compile foo = "baz" exec N/A N/A code2 code1 N/A test_newcode_unknown_args N/A N/A N/A N/A N/A code N/A N/A N/A py code Code N/A compile exec N/A N/A N/A N/A py test raises TypeError code.new(filename="hello") N/A test_newcode_withfilename N/A N/A N/A N/A N/A source N/A N/A N/A py code Source 
        def f():
            def g():
                pass
     N/A co N/A compile N/A N/A str source nada exec N/A obj hello N/A newco N/A N/A N/A N/A N/A py code Code co new rec True co_filename obj walkcode N/A N/A co N/A N/A N/A x N/A co co_consts N/A N/A N/A isinstance x N/A type co N/A N/A y N/A walkcode x N/A N/A N/A y N/A N/A co N/A N/A names N/A N/A code N/A walkcode newco N/A N/A N/A N/A newco co_filename obj N/A N/A N/A newco co_filename obj N/A N/A N/A names append N/A code co_name N/A N/A f names N/A N/A g names N/A test_newcode_with_filename N/A N/A N/A N/A N/A source i = 3 N/A co N/A compile source exec N/A code N/A N/A N/A py code Code co MyStr N/A str N/A N/A N/A N/A filename N/A MyStr hello N/A N/A filename __source__ N/A N/A N/A py code Source source N/A newco N/A N/A code new rec True co_filename filename N/A N/A N/A newco co_filename filename N/A s N/A N/A N/A py code Source newco N/A N/A N/A str s source N/A test_new_code_object_carries_filename_through N/A N/A N/A N/A mystr N/A str N/A N/A N/A N/A filename N/A mystr dummy N/A co N/A compile hello
 filename exec N/A N/A N/A isinstance N/A co co_filename mystr N/A c2 N/A N/A new code N/A co co_argcount N/A co co_nlocals N/A co co_stacksize N/A co co_flags N/A co co_code N/A co co_consts N/A co co_names N/A co co_varnames filename N/A co co_name N/A co co_firstlineno N/A co co_lnotab N/A co co_freevars N/A co co_cellvars N/A N/A N/A c2 co_filename filename N/A test_code_gives_back_name_for_not_existing_file N/A N/A N/A N/A N/A name abc-123 N/A co_code N/A compile pass
 name exec N/A N/A N/A co_code co_filename name N/A code N/A N/A N/A py code Code co_code N/A N/A N/A str N/A code path name N/A N/A N/A code fullsource None N/A test_code_with_class N/A N/A N/A N/A A N/A N/A N/A N/A N/A N/A N/A N/A py test raises TypeError py.code.Code(A) N/A N/A True N/A x N/A N/A N/A N/A N/A N/A test_code_fullsource N/A N/A N/A N/A N/A code N/A N/A N/A py code Code x N/A full N/A code fullsource N/A N/A test_code_fullsource() N/A str full N/A test_code_source N/A N/A N/A N/A N/A code N/A N/A N/A py code Code x N/A src N/A N/A code source N/A expected def x():
    pass N/A N/A N/A str src expected N/A