Module Import alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Dict FunctionDef arguments args defaults vararg body If Call AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults Str body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIs NameLoad NameLoad body Continue Assign NameStore Call NameLoad NameLoad Str ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list
N/A N/A inspect rpython.rlib jit objectmodel rpython.rlib.unroll unrolling_iterable memoize N/A N/A f N/A N/A N/A cache N/A wrapper N/A N/A N/A val N/A N/A N/A N/A objectmodel we_are_translated N/A N/A N/A f val N/A lup N/A N/A cache get val None N/A N/A lup None N/A N/A lup N/A f val N/A N/A cache N/A val lup N/A lup N/A N/A N/A wrapper __name__ N/A Memoized(%s) N/A f __name__ N/A wrapper N/A memoize_constructor N/A N/A cls N/A N/A N/A N/A setattr cls make N/A staticmethod N/A memoize cls N/A cls N/A strip N/A N/A str N/A N/A N/A N/A N/A str replace [*] N/A add_copy_method N/A N/A copy_method N/A copy N/A wrapper N/A N/A cls N/A N/A N/A 
        This attempts to produce a method which will copy the immutable contents of
        a given data type from the '_immutable_fields_' annotation of the class.

        The methods employed here will only work for certain types of class
        specifications (i.e. only works if all the desired fields are present in the
        '_immutable_fields_' annotation of the class definition).
        The mutable fields of the class must be copied separately as well.
         N/A field_names N/A N/A base N/A N/A inspect getmro cls N/A N/A N/A base object N/A N/A N/A fields N/A getattr base _immutable_fields_ N/A N/A N/A N/A field_names extend N/A map strip fields N/A field_names N/A unrolling_iterable field_names copy N/A N/A self N/A N/A N/A result N/A N/A objectmodel instantiate cls N/A attr field_names N/A N/A val N/A getattr self attr N/A N/A setattr result attr val N/A result N/A N/A N/A setattr cls copy_method copy N/A cls N/A N/A wrapper N/A