Module Expr Str Import alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad ListLoad Str Str Str body Assign NameStore NameLoad orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Return CompareIn SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore ListLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad BinOpAdd ListLoad NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list decorator_list
N/A N/A  A Python namespace.  N/A os sys traits.api Dict HasTraits Namespace N/A HasTraits N/A N/A  A Python namespace.  N/A locals Dict N/A imports Dict N/A _is_trait Dict is_trait N/A N/A self name N/A N/A N/A  Attempt to resolve a name to see if it is a trait.  N/A True N/A N/A name N/A self locals N/A N/A N/A name N/A TraitFactory Trait Instance N/A N/A is_trait True N/A N/A N/A N/A N/A N/A self _is_trait get name False N/A N/A is_trait False N/A N/A next N/A N/A self locals N/A name N/A N/A N/A len N/A next source 0 N/A N/A is_trait N/A N/A self is_trait N/A next source N/A N/A is_trait False N/A N/A N/A N/A self is_imported name N/A N/A module_name N/A N/A self get_next_module_name name N/A module N/A N/A self get_next_module module_name N/A N/A module None N/A N/A components N/A N/A name split . N/A is_trait N/A N/A module is_trait N/A components N/A -1 N/A N/A is_trait False N/A N/A N/A N/A self namespace None N/A N/A is_trait N/A N/A N/A self namespace is_trait name N/A N/A is_trait False N/A is_trait N/A is_imported N/A N/A self name N/A N/A N/A  Returns TRUE if a name is imported.  N/A components N/A N/A name split . N/A N/A N/A components N/A 0 N/A self imports N/A get_next_module_name N/A N/A self symbol N/A N/A N/A  Returns the name of the module that a symbol was imported from.  N/A components N/A N/A symbol split . N/A N/A N/A len components 1 N/A N/A module_name N/A N/A self imports N/A symbol N/A N/A path N/A N/A value N/A N/A self imports N/A N/A components N/A 0 N/A N/A N/A len value 0 N/A N/A N/A N/A path append value N/A module_name N/A N/A . join path N/A module_name N/A N/A N/A path append N/A components N/A 0 N/A component N/A components N/A 1 -1 N/A N/A N/A N/A path append component N/A module_name N/A N/A . join path N/A module_name N/A get_next_module N/A N/A self module_name N/A N/A N/A  Returns a parsed module with the specified name.

        Returns None if the module cannot be found or is 'ignored'.  We ignore
        all modules in the Python core, extension modules etc.

         enclbr find_module read_file N/A dirname N/A N/A N/A os path dirname N/A self filename N/A filename N/A find_module module_name N/A N/A dirname N/A sys path N/A N/A filename None N/A N/A N/A N/A N/A os path isdir filename N/A N/A filename N/A N/A N/A os path join filename __init__.py N/A N/A N/A N/A filename endswith .pyd N/A N/A filename endswith .so N/A N/A module None N/A N/A N/A N/A filename startswith N/A sys prefix N/A N/A module None N/A N/A module N/A read_file filename N/A N/A module None N/A module N/A N/A