Module Expr Str ImportFrom alias Import alias ImportFrom alias alias Assign NameStore Call NameLoad NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias Assign NameStore Dict Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad BoolOpOr AttributeLoad NameLoad attr Dict attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad BinOpAdd NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Num Num Num body Return NameLoad If CompareIn NameLoad TupleLoad Num Num body Return Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Num Num body Return SubscriptLoad NameLoad Slice Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return NameLoad orelse ImportFrom alias Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return TupleLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad Assign NameStore Dict If CompareIn Call NameLoad NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Slice body If CompareIn Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad If CompareIs Call AttributeLoad NameLoad attr Str Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad NameLoad TupleLoad AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameStore Dict Assign SubscriptStore NameLoad Index TupleLoad Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad decorator_list decorator_list ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias alias Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Num Num Num Num ListLoad TupleLoad Dict NameLoad Assign NameStore ListLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler body TryExcept body Return BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num handlers ExceptHandler body Return Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad attr If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias If Call NameLoad NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad attr If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad NameLoad body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore Dict Str Str Num Num FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Num Assign NameStore NameStore NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIn Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If BoolOpAnd BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIs SubscriptLoad NameLoad Index Num NameLoad BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str Str If CompareGt Call NameLoad NameLoad Num body If BoolOpAnd CompareEq BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Num CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Num Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareEq Call NameLoad NameLoad Num body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore TupleLoad NameLoad TupleLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore TupleLoad NameLoad Assign NameStore Num Assign NameStore TupleLoad NameLoad NameLoad NameLoad orelse For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Raise NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareLt NameLoad Num body If Call NameLoad NameLoad NameLoad body Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr orelse If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareLt NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad handlers ExceptHandler body Pass If CompareLt NameLoad Num body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Num Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore Dict For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str Assign SubscriptStore NameLoad Index Str Str If BoolOpAnd UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad If CompareLtE NameLoad Num body If CompareEq NameLoad Num body Return Call NameLoad NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareNotIn Str NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareNotIn Str NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str NameLoad If BoolOpAnd CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Num Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Dict Assign NameStore Call NameLoad Num FunctionDef arguments args defaults vararg kwarg body Expr Str ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Str ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Str ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad
N/A N/A 
Defines the 'core' traits for the Traits package. A trait is a type definition
that can be used for normal Python object attributes, giving the attributes
some additional characteristics:

Initialization:
    Traits have predefined values that do not need to be explicitly
    initialized in the class constructor or elsewhere.
Validation:
    Trait attributes have flexible, type-checked values.
Delegation:
    Trait attributes' values can be delegated to other objects.
Notification:
    Trait attributes can automatically notify interested parties when
    their values change.
Visualization:
    Trait attributes can automatically construct (automatic or
    programmer-defined) user interfaces that allow their values to be
    edited or displayed)

.. note:: 'trait' is a synonym for 'property', but is used instead of the
    word 'property' to differentiate it from the Python language 'property'
    feature.
 __future__ absolute_import N/A sys types FunctionType MethodType N/A NoneType N/A type None N/A trait_handlers ctraits cTrait trait_errors TraitError trait_base SequenceTypes Self Undefined Missing TypeTypes add_article trait_handlers TraitHandler TraitInstance TraitFunction TraitCoerceType TraitCastType TraitEnum TraitCompound TraitMap TraitString ThisClass TraitType _arg_count _read_only _write_only _undefined_get _undefined_set N/A KindMap N/A 0 1 2 3 4 5 6 7 8 value value self list dict list dict factory method N/A PasswordEditor None N/A MultilineTextEditor None N/A SourceCodeEditor None N/A HTMLTextEditor None N/A PythonShellEditor None N/A DateEditor None N/A TimeEditor None password_editor N/A N/A auto_set enter_set N/A True False N/A N/A  Factory function that returns an editor for passwords.
     N/A PasswordEditor N/A N/A PasswordEditor None N/A traitsui.api TextEditor N/A PasswordEditor N/A TextEditor password True auto_set auto_set enter_set enter_set N/A PasswordEditor N/A multi_line_text_editor N/A N/A auto_set enter_set N/A True False N/A N/A  Factory function that returns a text editor for multi-line strings.
     N/A MultilineTextEditor N/A N/A MultilineTextEditor None N/A traitsui.api TextEditor N/A MultilineTextEditor N/A TextEditor multi_line True auto_set auto_set enter_set enter_set N/A MultilineTextEditor N/A code_editor N/A N/A N/A N/A N/A  Factory function that returns an editor that treats a multi-line string
    as source code.
     N/A SourceCodeEditor N/A N/A SourceCodeEditor None N/A traitsui.api CodeEditor N/A SourceCodeEditor N/A CodeEditor N/A SourceCodeEditor N/A html_editor N/A N/A N/A N/A N/A  Factory function for an "editor" that displays a multi-line string as
    interpreted HTML.
     N/A HTMLTextEditor N/A N/A HTMLTextEditor None N/A traitsui.api HTMLEditor N/A HTMLTextEditor N/A HTMLEditor N/A HTMLTextEditor N/A shell_editor N/A N/A N/A N/A N/A  Factory function that returns a Python shell for editing Python values.
     N/A PythonShellEditor N/A N/A PythonShellEditor None N/A traitsui.api ShellEditor N/A PythonShellEditor N/A ShellEditor N/A PythonShellEditor N/A time_editor N/A N/A N/A N/A N/A  Factory function that returns a Time editor for editing Time values.
     N/A TimeEditor N/A N/A TimeEditor None N/A traitsui.api TimeEditor N/A TimeEditor N/A TimeEditor N/A TimeEditor N/A date_editor N/A N/A N/A N/A N/A  Factory function that returns a Date editor for editing Date values.
     N/A DateEditor N/A N/A DateEditor None N/A traitsui.api DateEditor N/A DateEditor N/A DateEditor N/A DateEditor N/A CTrait N/A cTrait N/A N/A  Extends the underlying C-based cTrait type.
     __call__ N/A N/A self N/A args metadata N/A N/A handler N/A self handler N/A N/A isinstance handler TraitType N/A N/A dict N/A N/A N/A N/A self __dict__ N/A copy N/A N/A N/A dict update metadata N/A N/A handler args dict N/A N/A N/A metadata setdefault parent self N/A N/A Trait N/A args N/A self metadata N/A __get_default N/A N/A self N/A N/A N/A N/A kind value N/A N/A self default_value N/A N/A kind N/A 2 7 8 N/A N/A Undefined N/A N/A kind N/A 4 6 N/A N/A N/A N/A value copy N/A N/A kind N/A 3 5 N/A N/A N/A value N/A N/A value N/A N/A default N/A property __get_default __get_default_kind N/A N/A self N/A N/A N/A N/A KindMap N/A N/A N/A N/A self default_value N/A 0 N/A N/A default_kind N/A property __get_default_kind __get_trait_type N/A N/A self N/A N/A N/A handler N/A self handler N/A N/A handler None N/A N/A handler N/A trait_types Any N/A Any N/A N/A trait_type N/A property __get_trait_type __get_inner_traits N/A N/A self N/A N/A N/A handler N/A self handler N/A N/A handler None N/A N/A N/A N/A handler inner_traits N/A N/A N/A N/A inner_traits N/A property __get_inner_traits is_trait_type N/A N/A self trait_type N/A N/A N/A  Returns whether or not this trait is of a specified trait type.
         N/A N/A isinstance N/A self trait_type trait_type N/A get_editor N/A N/A self N/A N/A N/A  Returns the user interface editor associated with the trait.
         traitsui.api EditorFactory N/A editor N/A self editor N/A N/A editor None N/A N/A handler N/A self handler N/A N/A handler None N/A N/A editor N/A N/A handler get_editor self N/A N/A editor None N/A traitsui.api TextEditor N/A editor TextEditor N/A N/A N/A isinstance editor EditorFactory N/A N/A args N/A N/A traits N/A N/A N/A N/A type editor SequenceTypes N/A N/A item N/A editor N/A N/A N/A N/A N/A type item SequenceTypes N/A N/A args N/A tuple item N/A N/A N/A isinstance item dict N/A N/A traits item N/A N/A N/A N/A traits get trait 0 None N/A N/A traits N/A N/A traits copy N/A N/A traits N/A trait self N/A N/A editor item N/A editor N/A editor args traits N/A N/A self editor editor N/A editor N/A get_help N/A N/A self full N/A True N/A N/A  Returns the help text for a trait.

        Parameters
        ----------
        full : bool
            Indicates whether to return the value of the *help* attribute of
            the trait itself.

        Description
        -----------
        If *full* is False or the trait does not have a **help** string,
        the returned string is constructed from the **desc** attribute on the
        trait and the **info** string on the trait's handler.
         N/A full N/A N/A help N/A self help N/A N/A help None N/A N/A help N/A handler N/A self handler N/A N/A handler None N/A N/A info N/A must be %s. N/A N/A handler info N/A N/A info may be any value. N/A desc N/A self desc N/A N/A N/A self desc None N/A N/A N/A N/A info capitalize N/A N/A Specifies %s and %s N/A desc info N/A full_info N/A N/A self object name value N/A N/A N/A  Returns a description of the trait.
         N/A handler N/A self handler N/A N/A handler None N/A N/A N/A N/A handler full_info object name value N/A any value N/A info N/A N/A self N/A N/A N/A  Returns a description of the trait.
         N/A handler N/A self handler N/A N/A handler None N/A N/A N/A N/A handler info N/A any value N/A __reduce_ex__ N/A N/A self protocol N/A N/A N/A N/A __newobj__ N/A N/A self __class__ 0 N/A N/A self __getstate__ N/A _register N/A N/A self object name N/A N/A N/A  Registers listeners on an assigned 'TraitValue' object's 'value'
            property.
         handler N/A N/A N/A N/A N/A N/A N/A object trait_property_changed name None N/A N/A tv N/A self _trait_value N/A handlers N/A tv _handlers N/A N/A handlers None N/A N/A N/A tv _handlers handlers N/A N/A N/A handlers N/A N/A N/A id object name handler N/A N/A N/A tv on_trait_change handler value N/A _unregister N/A N/A self object name N/A N/A N/A  Unregisters listeners on an assigned 'TraitValue' object's 'value'
            property.
         N/A tv N/A self _trait_value N/A handlers N/A tv _handlers N/A key N/A N/A id object name N/A handler N/A N/A handlers get key N/A N/A handler None N/A N/A N/A handlers N/A key N/A N/A N/A tv on_trait_change handler value remove True N/A N/A N/A ctraits N/A N/A N/A ctraits _ctrait CTrait N/A ConstantTypes N/A NoneType int long float complex str unicode N/A PythonTypes N/A str unicode int long float complex list tuple dict FunctionType MethodType type NoneType N/A N/A N/A N/A sys version_info N/A 0 3 N/A types InstanceType ClassType N/A PythonTypes N/A N/A N/A PythonTypes N/A -2 N/A InstanceType ClassType N/A PythonTypes N/A 2 N/A CallableTypes N/A FunctionType MethodType N/A TraitTypes N/A TraitHandler CTrait N/A DefaultValues N/A str unicode int long float complex list tuple dict bool 0 0 0.0 0j N/A N/A N/A False N/A DefaultValueSpecial N/A Missing Self N/A DefaultValueTypes N/A list dict __newobj__ N/A N/A cls N/A args N/A N/A  Unpickles new-style objects.
     N/A N/A N/A cls __new__ cls args N/A _default_value_type N/A N/A default_value N/A N/A N/A N/A N/A N/A N/A N/A DefaultValueSpecial index default_value 1 N/A N/A N/A N/A N/A N/A N/A N/A N/A DefaultValueTypes index N/A type default_value 3 N/A N/A N/A N/A 0 N/A TraitFactory N/A object N/A __init__ N/A N/A self maker_function N/A None N/A N/A N/A maker_function None N/A N/A N/A self maker_function maker_function N/A N/A self __doc__ N/A maker_function __doc__ N/A __call__ N/A N/A self N/A args metadata N/A N/A N/A N/A self maker_function args metadata N/A N/A TraitImportError N/A TraitFactory N/A N/A  Defines a factory class for deferring import problems until encountering
        code that actually tries to use the unimportable trait.
     __init__ N/A N/A self message N/A N/A N/A N/A self message message N/A __call__ N/A N/A self N/A args metadata N/A N/A N/A TraitError N/A self message N/A N/A N/A _trait_factory_instances N/A trait_factory N/A N/A trait N/A N/A N/A _trait_factory_instances N/A tid N/A id trait N/A N/A tid _trait_factory_instances N/A N/A N/A _trait_factory_instances N/A tid N/A trait N/A N/A _trait_factory_instances N/A tid N/A trait_cast N/A N/A something N/A N/A N/A  Casts a CTrait, TraitFactory or TraitType to a CTrait but returns None
        if it is none of those.
     N/A N/A isinstance something CTrait N/A N/A something N/A N/A isinstance something TraitFactory N/A N/A N/A trait_factory something N/A N/A N/A isinstance something type N/A issubclass something TraitType N/A N/A N/A N/A N/A something as_ctrait N/A N/A isinstance something TraitType N/A N/A N/A N/A something as_ctrait N/A None N/A try_trait_cast N/A N/A something N/A N/A N/A  Attempts to cast a value to a trait. Returns either a trait or the
        original value.
     N/A N/A N/A trait_cast something something N/A trait_from N/A N/A something N/A N/A N/A  Returns a trait derived from its input.
     trait_types Any N/A N/A isinstance something CTrait N/A N/A something N/A N/A something None N/A N/A something Any N/A N/A isinstance something TraitFactory N/A N/A N/A trait_factory something N/A N/A N/A isinstance something type N/A issubclass something TraitType N/A N/A N/A N/A N/A something as_ctrait N/A N/A isinstance something TraitType N/A N/A N/A N/A something as_ctrait N/A N/A Trait something N/A N/A N/A trait_handlers trait_from trait_from _InstanceArgs N/A object N/A __init__ N/A N/A self factory args kw N/A N/A N/A N/A self args N/A N/A factory args N/A N/A self kw kw N/A N/A Default N/A object N/A N/A  Generates a value the first time it is accessed.

    A Default object can be used anywhere a default trait value would normally
    be specified, to generate a default value dynamically.
     __init__ N/A N/A self func args kw N/A None N/A None N/A N/A N/A self default_value N/A func args kw N/A N/A Trait N/A N/A N/A value_type metadata N/A N/A  Creates a trait definition.

    Parameters
    ----------
    This function accepts a variety of forms of parameter lists:

    +-------------------+---------------+-------------------------------------+
    | Format            | Example       | Description                         |
    +===================+===============+=====================================+
    | Trait(*default*)  | Trait(150.0)  | The type of the trait is inferred   |
    |                   |               | from the type of the default value, |
    |                   |               | which must be in *ConstantTypes*.   |
    +-------------------+---------------+-------------------------------------+
    | Trait(*default*,  | Trait(None,   | The trait accepts any of the        |
    | *other1*,         | 0, 1, 2,      | enumerated values, with the first   |
    | *other2*, ...)    | 'many')       | value being the default value. The  |
    |                   |               | values must be of types in          |
    |                   |               | *ConstantTypes*, but they need not  |
    |                   |               | be of the same type. The *default*  |
    |                   |               | value is not valid for assignment   |
    |                   |               | unless it is repeated later in the  |
    |                   |               | list.                               |
    +-------------------+---------------+-------------------------------------+
    | Trait([*default*, | Trait([None,  | Similar to the previous format, but |
    | *other1*,         | 0, 1, 2,      | takes an explicit list or a list    |
    | *other2*, ...])   | 'many'])      | variable.                           |
    +-------------------+---------------+-------------------------------------+
    | Trait(*type*)     | Trait(Int)    | The *type* parameter must be a name |
    |                   |               | of a Python type (see               |
    |                   |               | *PythonTypes*). Assigned values     |
    |                   |               | must be of exactly the specified    |
    |                   |               | type; no casting or coercion is     |
    |                   |               | performed. The default value is the |
    |                   |               | appropriate form of zero, False,    |
    |                   |               | or emtpy string, set or sequence.   |
    +-------------------+---------------+-------------------------------------+
    | Trait(*class*)    |::             | Values must be instances of *class* |
    |                   |               | or of a subclass of *class*. The    |
    |                   | class MyClass:| default value is None, but None     |
    |                   |    pass       | cannot be assigned as a value.      |
    |                   | foo = Trait(  |                                     |
    |                   | MyClass)      |                                     |
    +-------------------+---------------+-------------------------------------+
    | Trait(None,       |::             | Similar to the previous format, but |
    | *class*)          |               | None *can* be assigned as a value.  |
    |                   | class MyClass:|                                     |
    |                   |   pass        |                                     |
    |                   | foo = Trait(  |                                     |
    |                   | None, MyClass)|                                     |
    +-------------------+---------------+-------------------------------------+
    | Trait(*instance*) |::             | Values must be instances of the     |
    |                   |               | same class as *instance*, or of a   |
    |                   | class MyClass:| subclass of that class. The         |
    |                   |    pass       | specified instance is the default   |
    |                   | i = MyClass() | value.                              |
    |                   | foo =         |                                     |
    |                   |   Trait(i)    |                                     |
    +-------------------+---------------+-------------------------------------+
    | Trait(*handler*)  | Trait(        | Assignment to this trait is         |
    |                   | TraitEnum )   | validated by an object derived from |
    |                   |               | **traits.TraitHandler**.            |
    +-------------------+---------------+-------------------------------------+
    | Trait(*default*,  | Trait(0.0, 0.0| This is the most general form of    |
    | { *type* |        | 'stuff',      | the function. The notation:         |
    | *constant* |      | TupleType)    | ``{...|...|...}+`` means a list of  |
    | *dict* | *class* ||               | one or more of any of the items     |
    | *function* |      |               | listed between the braces. Thus, the|
    | *handler* |       |               | most general form of the function   |
    | *trait* }+ )      |               | consists of a default value,        |
    |                   |               | followed by one or more of several  |
    |                   |               | possible items. A trait defined by  |
    |                   |               | multiple items is called a          |
    |                   |               | "compound" trait.                   |
    +-------------------+---------------+-------------------------------------+

    All forms of the Trait function accept both predefined and arbitrary
    keyword arguments. The value of each keyword argument becomes bound to the
    resulting trait object as the value of an attribute having the same name
    as the keyword. This feature lets you associate metadata with a trait.

    The following predefined keywords are accepted:

    Keywords
    --------
    desc : str
        Describes the intended meaning of the trait. It is used in
        exception messages and fly-over help in user interfaces.
    label : str
        Provides a human-readable name for the trait. It is used to label user
        interface editors for traits.
    editor : traits.api.Editor
        Instance of a subclass Editor object to use when creating a user
        interface editor for the trait. See the "Traits UI User Guide" for
        more information on trait editors.
    comparison_mode : int
        Indicates when trait change notifications should be generated based upon
        the result of comparing the old and new values of a trait assignment:

        * 0 (NO_COMPARE): The values are not compared and a trait change
          notification is generated on each assignment.
        * 1 (OBJECT_IDENTITY_COMPARE): A trait change notification is
          generated if the old and new values are not the same object.
        * 2 (RICH_COMPARE): A trait change notification is generated if the
          old and new values are not equal using Python's
          'rich comparison' operator. This is the default.

    rich_compare : bool
        Indicates whether the basis for considering a trait attribute value to
        have changed is a "rich" comparison (True, the default), or simple
        object identity (False). This attribute can be useful in cases
        where a detailed comparison of two objects is very expensive, or where
        you do not care whether the details of an object change, as long as the
        same object is used.

            .. deprecated:: 3.0.3
                Use ``comparison_mode`` instead


     N/A N/A N/A N/A _TraitMaker value_type metadata as_ctrait N/A N/A N/A trait_handlers Trait Trait _TraitMaker N/A object N/A N/A type_map N/A event constant 2 7 __init__ N/A N/A self N/A value_type metadata N/A N/A N/A N/A metadata setdefault type trait N/A N/A N/A self define value_type metadata N/A define N/A N/A self N/A value_type metadata N/A N/A default_value_type -1 N/A default_value handler clone None N/A N/A N/A len value_type 0 N/A N/A default_value N/A value_type N/A 0 N/A value_type N/A value_type N/A 1 N/A N/A N/A N/A len value_type 0 N/A N/A type default_value SequenceTypes N/A N/A N/A default_value value_type N/A N/A default_value N/A 0 default_value N/A N/A N/A len value_type 0 N/A N/A default_value N/A try_trait_cast default_value N/A N/A default_value PythonTypes N/A N/A handler N/A TraitCoerceType default_value N/A default_value N/A N/A DefaultValues get default_value N/A N/A N/A isinstance default_value CTrait N/A N/A clone default_value N/A N/A default_value_type default_value N/A N/A clone default_value N/A N/A metadata N/A type N/A clone type N/A N/A N/A isinstance default_value TraitHandler N/A N/A handler default_value N/A default_value None N/A N/A N/A default_value ThisClass N/A N/A handler N/A ThisClass N/A default_value None N/A N/A typeValue N/A type default_value N/A N/A isinstance default_value basestring N/A N/A string_options N/A N/A self extract metadata min_len max_len regex N/A N/A N/A len string_options 0 N/A N/A handler N/A TraitCastType typeValue N/A N/A handler N/A TraitString string_options N/A N/A N/A typeValue TypeTypes N/A N/A handler N/A TraitCastType typeValue N/A N/A N/A N/A metadata setdefault instance_handler _instance_changed_handler N/A handler N/A TraitInstance default_value N/A N/A default_value N/A handler aClass N/A N/A default_value N/A N/A DefaultValues get default_value N/A N/A enum N/A N/A other N/A N/A map N/A N/A N/A N/A self do_list value_type enum map other N/A N/A N/A N/A N/A len enum 1 N/A N/A enum N/A 0 None N/A N/A N/A len other 1 N/A isinstance N/A other N/A 0 TraitInstance N/A N/A enum N/A N/A N/A N/A N/A other N/A 0 allow_none N/A N/A N/A metadata setdefault instance_handler _instance_changed_handler N/A N/A N/A len enum 0 N/A N/A N/A N/A N/A N/A len map N/A len other 0 N/A default_value enum N/A N/A N/A N/A enum insert 0 default_value N/A N/A N/A other append N/A TraitEnum enum N/A N/A N/A len map 0 N/A N/A N/A N/A other append N/A TraitMap map N/A N/A N/A len other 0 N/A N/A handler N/A TraitHandler N/A N/A N/A N/A len other 1 N/A N/A handler N/A other N/A 0 N/A N/A isinstance handler CTrait N/A N/A N/A clone handler N/A handler None N/A N/A metadata N/A type N/A clone type N/A N/A N/A isinstance handler TraitInstance N/A N/A N/A N/A metadata setdefault instance_handler _instance_changed_handler N/A N/A default_value None N/A N/A N/A N/A handler allow_none N/A N/A N/A isinstance default_value _InstanceArgs N/A N/A default_value_type 7 N/A default_value N/A N/A handler create_default_value N/A default_value args N/A default_value kw N/A N/A N/A N/A N/A len enum 0 N/A N/A len map 0 N/A N/A aClass N/A handler aClass N/A typeValue N/A type default_value N/A N/A typeValue dict N/A N/A default_value_type 7 N/A default_value N/A aClass N/A default_value N/A N/A N/A N/A isinstance default_value aClass N/A N/A N/A typeValue tuple N/A N/A default_value N/A default_value N/A default_value_type 7 N/A default_value N/A aClass default_value None N/A N/A N/A i item N/A enumerate other N/A N/A N/A isinstance item CTrait N/A N/A N/A N/A item type trait N/A N/A TraitError N/A Cannot create a complex trait containing %s trait. N/A add_article N/A item type N/A handler N/A item handler N/A N/A handler None N/A N/A N/A N/A other N/A i handler N/A N/A handler N/A TraitCompound other N/A N/A self handler handler N/A N/A self clone clone N/A N/A default_value_type 0 N/A N/A N/A isinstance default_value Default N/A N/A default_value_type 7 N/A default_value N/A default_value default_value N/A N/A N/A N/A handler None N/A clone None N/A N/A handler N/A clone handler N/A N/A handler None N/A N/A default_value_type N/A handler default_value_type N/A N/A default_value_type 0 N/A N/A N/A N/A default_value N/A N/A handler validate None default_value N/A N/A N/A N/A N/A N/A default_value_type 0 N/A N/A default_value_type N/A _default_value_type default_value N/A N/A self default_value_type default_value_type N/A N/A self default_value default_value N/A N/A self metadata N/A N/A metadata copy N/A do_list N/A N/A self list enum map other N/A N/A N/A item list N/A N/A N/A item PythonTypes N/A N/A N/A N/A other append N/A TraitCoerceType item N/A N/A item N/A try_trait_cast item N/A typeItem N/A type item N/A N/A typeItem ConstantTypes N/A N/A N/A N/A enum append item N/A N/A N/A typeItem SequenceTypes N/A N/A N/A N/A self do_list item enum map other N/A N/A N/A typeItem dict N/A N/A N/A N/A map update item N/A N/A N/A typeItem CallableTypes N/A N/A N/A N/A other append N/A TraitFunction item N/A N/A N/A item ThisClass N/A N/A N/A N/A other append N/A ThisClass N/A N/A N/A isinstance item TraitTypes N/A N/A N/A N/A other append item N/A N/A N/A N/A other append N/A TraitInstance item N/A as_ctrait N/A N/A self N/A N/A N/A metadata N/A self metadata N/A trait N/A CTrait N/A N/A N/A self type_map get N/A N/A metadata get type 0 N/A clone N/A self clone N/A N/A clone None N/A N/A N/A N/A trait clone clone N/A N/A N/A clone __dict__ None N/A N/A N/A trait __dict__ N/A N/A N/A clone __dict__ copy N/A N/A N/A trait default_value N/A self default_value_type N/A self default_value N/A handler N/A self handler N/A N/A handler None N/A N/A N/A trait handler handler N/A validate N/A getattr handler fast_validate None N/A N/A validate None N/A N/A validate N/A handler validate N/A N/A N/A trait set_validate validate N/A post_setattr N/A getattr handler post_setattr None N/A N/A post_setattr None N/A N/A N/A trait post_setattr post_setattr N/A N/A N/A trait is_mapped N/A handler is_mapped N/A rich_compare N/A N/A metadata get rich_compare N/A N/A rich_compare None N/A N/A N/A N/A trait rich_comparison N/A rich_compare True N/A comparison_mode N/A N/A metadata get comparison_mode N/A N/A comparison_mode None N/A N/A N/A N/A trait comparison_mode comparison_mode N/A N/A N/A trait value_allowed N/A N/A N/A metadata get trait_value False True N/A N/A N/A len metadata 0 N/A N/A N/A N/A trait __dict__ None N/A N/A N/A trait __dict__ metadata N/A N/A N/A N/A N/A trait __dict__ update metadata N/A trait N/A extract N/A N/A self from_dict N/A keys N/A N/A to_dict N/A N/A key keys N/A N/A N/A key from_dict N/A N/A N/A to_dict N/A key N/A from_dict N/A key N/A N/A from_dict N/A key N/A to_dict N/A N/A Property N/A N/A fget fset fvalidate force handler trait N/A None None None False None None metadata N/A N/A  Returns a trait whose value is a Python property.

    Parameters
    ----------
    fget : function
        The "getter" function for the property.
    fset : function
        The "setter" function for the property.
    fvalidate : function
        The validation function for the property. The method should return the
        value to set or raise TraitError if the new value is not valid.
    force : bool
        Indicates whether to use only the function definitions specified by
        **fget** and **fset**, and not look elsewhere on the class.
    handler : function
        A trait handler function for the trait.
    trait : Trait or value
        A trait definition or a value that can be converted to a trait that
        constrains the values of the property trait.

    Description
    -----------
    If no getter, setter or validate functions are specified (and **force** is
    not True), it is assumed that they are defined elsewhere on the class whose
    attribute this trait is assigned to. For example::

        class Bar(HasTraits):
            
            # A float traits Property that should be always positive.
            foo = Property(Float)
            
            # Shadow trait attribute
            _foo = Float

            def _set_foo(self,x):
                self._foo = x

            def _validate_foo(self, x):
                if x <= 0:
                    raise TraitError(
                        'foo property should be a positive number')
                return x

            def _get_foo(self):
                return self._foo

    You can use the **depends_on** metadata attribute to indicate that the
    property depends on the value of another trait. The value of **depends_on**
    is an extended name specifier for traits that the property depends on. The
    property will a trait change notification if any of the traits specified
    by **depends_on** change. For example::

        class Wheel ( Part ):
            axle     = Instanced( Axle )
            position = Property( depends_on = 'axle.chassis.position' )

    For details of the extended trait name syntax, refer to the on_trait_change()
    method of the HasTraits class.
     N/A N/A metadata N/A type property N/A N/A N/A force N/A fset None N/A N/A sum N/A N/A N/A fget None N/A fvalidate None N/A trait None N/A N/A sum 1 N/A N/A N/A sum 0 N/A N/A N/A ForwardProperty metadata N/A handler None N/A N/A fget None N/A N/A trait fget N/A N/A trait None N/A N/A trait N/A trait_cast trait N/A N/A trait None N/A N/A fvalidate handler N/A trait handler N/A N/A fvalidate None N/A N/A fvalidate N/A handler validate N/A N/A N/A fvalidate None N/A trait None N/A N/A N/A editor metadata N/A N/A N/A N/A trait None N/A N/A trait editor None N/A N/A N/A metadata N/A editor N/A trait editor N/A N/A ForwardProperty metadata fvalidate handler N/A N/A fget None N/A N/A N/A metadata N/A transient True N/A N/A fset None N/A N/A fget _undefined_get N/A fset _undefined_set N/A N/A fget _write_only N/A N/A N/A fset None N/A N/A fset _read_only N/A N/A metadata N/A transient True N/A N/A trait None N/A N/A trait N/A trait_cast trait N/A handler N/A trait handler N/A N/A N/A fvalidate None N/A handler None N/A N/A fvalidate N/A handler validate N/A N/A N/A editor metadata N/A N/A trait editor None N/A N/A N/A metadata N/A editor N/A trait editor N/A N/A N/A metadata setdefault depends_on N/A getattr fget depends_on None N/A N/A N/A N/A N/A metadata get depends_on None N/A getattr fget cached_property False N/A N/A N/A N/A metadata setdefault cached True N/A n 0 N/A trait N/A CTrait 4 N/A N/A trait __dict__ N/A N/A metadata copy N/A N/A fvalidate None N/A N/A n N/A _arg_count fvalidate N/A N/A N/A trait property fget N/A _arg_count fget fset N/A _arg_count fset fvalidate n N/A N/A trait handler handler N/A trait N/A N/A Property N/A TraitFactory Property ForwardProperty N/A object N/A N/A  Used to implement Property traits where accessor functions are defined
    implicitly on the class.
     __init__ N/A N/A self metadata validate handler N/A None None N/A N/A N/A self metadata N/A N/A metadata copy N/A N/A self validate validate N/A N/A self handler handler N/A N/A N/A SpecialNames N/A N/A generic_trait N/A CTrait 8 Color N/A N/A N/A args metadata N/A N/A  Returns a trait whose value must be a GUI toolkit-specific color.

    Description
    -----------
    For wxPython, the returned trait accepts any of the following values:

    * A wx.Colour instance
    * A wx.ColourPtr instance
    * an integer whose hexadecimal form is 0x*RRGGBB*, where *RR* is the red
      value, *GG* is the green value, and *BB* is the blue value

    Default Value
    -------------
    For wxPython, 0x000000 (that is, white)
     traitsui.toolkit_traits ColorTrait N/A N/A ColorTrait args metadata N/A N/A Color N/A TraitFactory Color RGBColor N/A N/A N/A args metadata N/A N/A  Returns a trait whose value must be a GUI toolkit-specific RGB-based
        color.

    Description
    -----------
    For wxPython, the returned trait accepts any of the following values:

    * A tuple of the form (*r*, *g*, *b*), in which *r*, *g*, and *b* represent
      red, green, and blue values, respectively, and are floats in the range
      from 0.0 to 1.0
    * An integer whose hexadecimal form is 0x*RRGGBB*, where *RR* is the red
      value, *GG* is the green value, and *BB* is the blue value

    Default Value
    -------------
    For wxPython, (0.0, 0.0, 0.0) (that is, white)
     traitsui.toolkit_traits RGBColorTrait N/A N/A RGBColorTrait args metadata N/A N/A RGBColor N/A TraitFactory RGBColor Font N/A N/A N/A args metadata N/A N/A  Returns a trait whose value must be a GUI toolkit-specific font.

    Description
    -----------
    For wxPython, the returned trait accepts any of the following:

    * a wx.Font instance
    * a wx.FontPtr instance
    * a string describing the font, including one or more of the font family,
      size, weight, style, and typeface name.

    Default Value
    -------------
    For wxPython, 'Arial 10'
     traitsui.toolkit_traits FontTrait N/A N/A FontTrait args metadata N/A N/A Font N/A TraitFactory Font