Sym_type: module Sym_name: top Sym_lineno: 0 Sym_nested: False Sym_haschildren: True -- Identifiers -- name: MyClass is_referenced: True is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: True namespaces: [ Sym_type: class Sym_name: MyClass Sym_lineno: 15 Sym_nested: False Sym_haschildren: True Class_methods: ['__init__'] -- Identifiers -- name: __init__ is_referenced: False is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: True namespaces: [ Sym_type: function Sym_name: __init__ Sym_lineno: 16 Sym_nested: False Sym_haschildren: False Func_params: ['self'] Func_locals: ['self'] Func_globals: ['globals', 'type'] Func_frees: [] -- Identifiers -- name: globals is_referenced: True is_imported: False is_parameter: False is_global: True is_declared_global: False is_local: False is_free: False is_assigned: False is_namespace: False namespaces: [ ] name: self is_referenced: False is_imported: False is_parameter: True is_global: False is_declared_global: False is_local: True is_free: False is_assigned: False is_namespace: False namespaces: [ ] name: type is_referenced: True is_imported: False is_parameter: False is_global: True is_declared_global: False is_local: False is_free: False is_assigned: False is_namespace: False namespaces: [ ] ] ] name: bar is_referenced: False is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: False namespaces: [ ] name: baz is_referenced: True is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: True namespaces: [ Sym_type: function Sym_name: baz Sym_lineno: 9 Sym_nested: False Sym_haschildren: False Func_params: ['x'] Func_locals: ['x'] Func_globals: ['globals'] Func_frees: [] -- Identifiers -- name: globals is_referenced: True is_imported: False is_parameter: False is_global: True is_declared_global: False is_local: False is_free: False is_assigned: False is_namespace: False namespaces: [ ] name: x is_referenced: False is_imported: False is_parameter: True is_global: False is_declared_global: False is_local: True is_free: False is_assigned: False is_namespace: False namespaces: [ ] ] name: foo is_referenced: False is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: True namespaces: [ Sym_type: function Sym_name: foo Sym_lineno: 1 Sym_nested: False Sym_haschildren: False Func_params: [] Func_locals: [] Func_globals: [] Func_frees: [] -- Identifiers -- ] name: globals is_referenced: True is_imported: False is_parameter: False is_global: True is_declared_global: False is_local: False is_free: False is_assigned: False is_namespace: False namespaces: [ ] name: y is_referenced: False is_imported: False is_parameter: False is_global: False is_declared_global: False is_local: True is_free: False is_assigned: True is_namespace: False namespaces: [ ]