Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias FunctionDef arguments args defaults body Expr Str TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad orelse Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore CompareEq Call AttributeLoad NameLoad attr Str Assign NameStore CompareEq Call AttributeLoad NameLoad attr Str Assign NameStore CompareEq Call AttributeLoad NameLoad attr Str Assign NameStore CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Assign NameStore CompareEq AttributeLoad NameLoad attr Str Assign NameStore IfExp NameLoad CompareNotEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Slice Num FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpAdd Str NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Str CompareGtE NameLoad NameLoad body Break If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Continue orelse If BoolOpAnd CompareGt Call NameLoad NameLoad Num CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str body If BoolOpAnd CompareLt NameLoad NameLoad CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr orelse Break If CompareLt NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Break orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str AugAssignSub AttributeStore NameLoad attr Num If CompareGtE Call NameLoad NameLoad Num body Assign NameStore BinOpAdd AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign NameStore Call NameLoad NameLoad If CompareIn Str SubscriptLoad NameLoad Slice NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad Break orelse If CompareEq Call NameLoad NameLoad Num body Return If CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Str Index Num attr Assign NameStore Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return Assign TupleStore NameStore NameStore TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr BinOpAdd AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Slice NameLoad NameLoad Str If NameLoad body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Num Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call NameLoad NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Expr Str If CompareIs NameLoad NameLoad body Return Assign NameStore BinOpAdd BinOpMult Str NameLoad BinOpMult Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad body Return SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return IfExp BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return IfExp NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list ClassDef bases body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Slice Num attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareLt NameLoad Num body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body If CompareLt Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Str For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str body For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareNotIn NameLoad NameLoad body If CompareLt Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore IfExp CompareEq NameLoad Num Str Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Num Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr BinOpAdd NameLoad Str NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AugAssignAdd NameStore IfExp CompareGt Call NameLoad NameLoad Num BinOpAdd Str NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad Str body Expr Str Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If CompareGt Call NameLoad BinOpSub NameLoad NameLoad NameLoad body Return Call NameLoad Str If CompareGt NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign TupleStore NameStore NameStore TupleLoad NameLoad BinOpAdd ListLoad NameLoad BinOpMult ListLoad Num NameLoad For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign TupleStore NameStore NameStore TupleLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad Num BinOpAdd SubscriptLoad NameLoad Index BinOpSub NameLoad Num Num Assign NameStore SubscriptLoad NameLoad Index BinOpSub NameLoad Num If CompareNotEq SubscriptLoad NameLoad Index BinOpSub NameLoad Num SubscriptLoad NameLoad Index BinOpSub NameLoad Num body Assign NameStore BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Return BinOpAdd BinOpAdd NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd UnaryOpNot NameLoad CompareNotEq Call NameLoad NameLoad Num UnaryOpNot Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore Str body Return NameLoad orelse Assign NameStore Num Assign NameStore Str For NameStore NameLoad body If CompareEq NameLoad Str body AugAssignAdd NameStore BinOpMult BinOpAdd BinOpMult NameLoad Num Num Str orelse AugAssignAdd NameStore BinOpMult NameLoad Str If CompareNotEq NameLoad Str body AugAssignAdd NameStore NameLoad Assign NameStore Num orelse AugAssignAdd NameStore Num Return BinOpAdd BinOpAdd NameLoad BinOpMult BinOpMult NameLoad Num Str Str decorator_list FunctionDef arguments args defaults body Expr Str Return CompareIs Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Yield NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body Return IfExp CompareIn Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return IfExp NameLoad Str Str decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn Call AttributeLoad NameLoad attr NameLoad body Return Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad body Return NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call NameLoad GeneratorExp IfExp CompareGt Call NameLoad NameLoad Num Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad orelse Return Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad BinOpMult ListLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Num body Return ListLoad Return Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareIn NameLoad Set Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If CompareIn NameLoad Set Str Str body Assign NameStore Str orelse If CompareIn NameLoad Set Str Str body Assign NameStore Str orelse If CompareIn NameLoad Set Str body Assign NameStore Str orelse Expr Call NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad Str NameLoad Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpMult Num Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Expr Str FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad NameLoad NameLoad CompareIn Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad body Return NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call NameLoad TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call NameLoad TupleLoad NameLoad Str Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore TupleLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Num Num handlers ExceptHandler body Assign NameStore NameLoad Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Num Num Num Num Num Num Str Str Str Str Str Str For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd CompareEq NameLoad Num NameLoad body If CompareLtE Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Str orelse If CompareGtE Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Return NameLoad decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call AttributeLoad Str attr NameLoad Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Str Assign NameStore DictComp NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad Dict Str Str Str Str Str Str Str Str attr Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad AugAssignAdd NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If CompareLt Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Return TupleLoad NameLoad NameLoad NameLoad orelse If BinOpMod NameLoad Num body Return TupleLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num orelse Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareNotIn Str NameLoad BoolOpOr UnaryOpNot NameLoad CompareNotIn Str NameLoad body Return NameLoad Import alias Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad While CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If CompareEq NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body AugAssignAdd NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpSub NameLoad Num orelse If BoolOpAnd CompareEq NameLoad NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num NameLoad body AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num orelse Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body AugAssignAdd NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpSub NameLoad Num orelse Assign NameStore SubscriptLoad NameLoad Slice NameLoad If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad orelse If CompareEq NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num NameLoad body AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num orelse If CompareEq SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num BinOpAdd NameLoad Num NameLoad body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore BinOpSub NameLoad Num orelse Assign NameStore SubscriptLoad NameLoad Slice NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad Str NameLoad orelse Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore SubscriptLoad NameLoad Slice Num AugAssignAdd NameStore Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num While BoolOpAnd NameLoad CompareIn NameLoad NameLoad body AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad If NameLoad body AugAssignSub NameStore Num orelse AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias ImportFrom alias Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore CompareEq NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpAnd NameLoad CompareEq NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Return AttributeLoad NameLoad attr Assign NameStore Call NameLoad For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignBitOr NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad AugAssignBitOr NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A Misc. xonsh tools.

The following implementations were forked from the IPython project:

* Copyright (c) 2008-2014, IPython Development Team
* Copyright (C) 2001-2007 Fernando Perez <fperez@colorado.edu>
* Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
* Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>

Implementations:

* decode()
* encode()
* cast_unicode()
* safe_hasattr()
* indent()

 N/A ctypes N/A os N/A re N/A sys N/A builtins N/A platform N/A traceback N/A threading N/A subprocess contextlib contextmanager collections OrderedDict Sequence Set warnings warn pygments_version N/A N/A N/A N/A N/A Returns the Pygments version or False. N/A N/A N/A pygments N/A v N/A pygments __version__ N/A N/A N/A ImportError N/A N/A v False N/A v N/A N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A string_types N/A str bytes N/A unicode_type str N/A N/A string_types N/A str unicode N/A unicode_type unicode N/A N/A N/A win_unicode_console N/A N/A N/A ImportError N/A N/A win_unicode_console None N/A DEFAULT_ENCODING N/A N/A sys getdefaultencoding N/A ON_WINDOWS N/A N/A N/A platform system Windows N/A ON_MAC N/A N/A N/A platform system Darwin N/A ON_LINUX N/A N/A N/A platform system Linux N/A ON_ARCH N/A N/A N/A N/A platform linux_distribution N/A 0 arch N/A ON_POSIX N/A N/A os name posix N/A IS_ROOT N/A ON_WINDOWS N/A N/A N/A N/A N/A ctypes windll shell32 IsUserAnAdmin 0 N/A N/A N/A os getuid 0 N/A HAVE_PYGMENTS N/A bool N/A pygments_version N/A VER_3_4 N/A 3 4 N/A VER_3_5 N/A 3 5 N/A VER_3_5_1 N/A 3 5 1 N/A VER_FULL N/A N/A sys version_info N/A 3 N/A VER_MAJOR_MINOR N/A N/A sys version_info N/A 2 N/A V_MAJOR_MINOR N/A N/A v{0}{1} format N/A N/A sys version_info N/A 2 docstring_by_version N/A N/A N/A kwargs N/A N/A Sets a docstring by the python version. N/A doc N/A N/A kwargs get V_MAJOR_MINOR None N/A N/A V_MAJOR_MINOR None N/A N/A N/A RuntimeError N/A unrecognized version  V_MAJOR_MINOR dec N/A N/A f N/A N/A N/A N/A f __doc__ doc N/A f N/A N/A dec N/A XonshError N/A Exception N/A N/A N/A DefaultNotGivenType N/A object N/A N/A Singleton for representing when no default value is given. N/A N/A DefaultNotGiven N/A DefaultNotGivenType subproc_toks N/A N/A line mincol maxcol lexer returnline N/A -1 None None False N/A N/A Excapsulates tokens in a source code line in a uncaptured
    subprocess $[] starting at a minimum column. If there are no tokens
    (ie in a comment line) this returns None.
     N/A N/A lexer None N/A N/A lexer N/A N/A N/A builtins __xonsh_execer__ parser lexer N/A N/A maxcol None N/A N/A maxcol N/A N/A len line 1 N/A N/A N/A lexer reset N/A N/A N/A lexer input line N/A toks N/A N/A end_offset 0 N/A tok lexer N/A N/A pos N/A tok lexpos N/A N/A N/A N/A tok type SEMI N/A pos maxcol N/A N/A N/A N/A N/A N/A len toks 0 N/A N/A tok type N/A WS INDENT N/A N/A N/A N/A N/A N/A N/A len toks 0 N/A N/A N/A toks N/A -1 type SEMI N/A N/A N/A N/A pos maxcol N/A N/A tok type N/A NEWLINE DEDENT WS N/A N/A N/A N/A toks clear N/A N/A N/A N/A pos mincol N/A N/A N/A N/A N/A toks append tok N/A N/A N/A tok type NEWLINE N/A N/A N/A N/A N/A N/A tok type DEDENT N/A N/A N/A tok type NEWLINE N/A N/A tok value N/A N/A tok lineno 1 N/A N/A N/A len toks 2 N/A N/A prev_tok_end N/A N/A N/A toks N/A -2 lexpos N/A len N/A N/A toks N/A -2 value N/A N/A prev_tok_end N/A len line N/A N/A # N/A line N/A prev_tok_end N/A N/A N/A tok lexpos prev_tok_end N/A N/A N/A tok lexpos N/A len line N/A N/A N/A N/A N/A len toks 0 N/A N/A N/A N/A N/A N/A toks N/A -1 type SEMI N/A N/A N/A N/A toks pop N/A tok N/A toks N/A -1 N/A pos N/A tok lexpos N/A N/A isinstance N/A tok value string_types N/A N/A end_offset N/A len N/A tok value N/A N/A el N/A N/A N/A N/A N/A N/A line N/A pos split # N/A 0 rstrip N/A end_offset N/A len el N/A N/A N/A len toks 0 N/A N/A N/A N/A beg end N/A N/A N/A toks N/A 0 lexpos N/A N/A N/A toks N/A -1 lexpos end_offset N/A rtn N/A N/A $[ N/A line N/A beg end ] N/A returnline N/A N/A rtn N/A N/A N/A line N/A beg rtn N/A line N/A end N/A rtn N/A subexpr_from_unbalanced N/A N/A expr ltok rtok N/A N/A N/A Attempts to pull out a valid subexpression for unbalanced grouping,
    based on opening tokens, eg. '(', and closing tokens, eg. ')'.  This
    does not do full tokenization, but should be good enough for tab
    completion.
     N/A lcnt N/A N/A expr count ltok N/A N/A lcnt 0 N/A N/A expr N/A rcnt N/A N/A expr count rtok N/A N/A lcnt rcnt N/A N/A expr N/A subexpr N/A N/A N/A expr rsplit ltok 1 N/A -1 N/A subexpr N/A N/A N/A subexpr rsplit , 1 N/A -1 N/A subexpr N/A N/A N/A subexpr rsplit : 1 N/A -1 N/A subexpr N/A decode N/A N/A s encoding N/A None N/A N/A encoding N/A encoding DEFAULT_ENCODING N/A N/A N/A s decode encoding replace N/A encode N/A N/A u encoding N/A None N/A N/A encoding N/A encoding DEFAULT_ENCODING N/A N/A N/A u encode encoding replace N/A cast_unicode N/A N/A s encoding N/A None N/A N/A N/A isinstance s bytes N/A N/A N/A decode s encoding N/A s N/A safe_hasattr N/A N/A obj attr N/A N/A N/A In recent versions of Python, hasattr() only catches AttributeError.
    This catches all errors.
     N/A N/A N/A N/A getattr obj attr N/A True N/A N/A N/A Exception N/A N/A False N/A indent N/A N/A instr nspaces ntabs flatten N/A 4 0 False N/A N/A Indent a string a given number of spaces or tabstops.

    indent(str,nspaces=4,ntabs=0) -> indent str by ntabs+nspaces.

    Parameters
    ----------
    instr : basestring
        The string to be indented.
    nspaces : int (default: 4)
        The number of spaces to be indented.
    ntabs : int (default: 0)
        The number of tabs to be indented.
    flatten : bool (default: False)
        Whether to scrub existing indentation.  If True, all lines will be
        aligned to the same indentation.  If False, existing indentation will
        be strictly increased.

    Returns
    -------
    outstr : string indented by ntabs and nspaces.

     N/A N/A instr None N/A N/A N/A ind N/A N/A ntabs N/A nspaces N/A flatten N/A N/A pat N/A N/A re compile ^\s* N/A re MULTILINE N/A N/A pat N/A N/A re compile ^ N/A re MULTILINE N/A outstr N/A N/A re sub pat ind instr N/A N/A N/A outstr endswith N/A N/A os linesep ind N/A N/A N/A outstr N/A N/A N/A len ind N/A N/A outstr N/A get_sep N/A N/A N/A N/A N/A  Returns the appropriate filepath separator char depending on OS and
    xonsh options set
     N/A N/A N/A ON_WINDOWS N/A N/A N/A builtins __xonsh_env__ get FORCE_POSIX_PATHS N/A os altsep N/A os sep N/A fallback N/A N/A cond backup N/A N/A N/A Decorator for returning the object if cond is true and a backup if cond is false.
     dec N/A N/A obj N/A N/A N/A N/A cond obj backup N/A N/A dec N/A _RedirectStream N/A N/A N/A _stream None __init__ N/A N/A self new_target N/A N/A N/A N/A self _new_target new_target N/A N/A self _old_targets N/A N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A N/A self _old_targets append N/A getattr sys N/A self _stream N/A N/A setattr sys N/A self _stream N/A self _new_target N/A N/A self _new_target N/A __exit__ N/A N/A self exctype excinst exctb N/A N/A N/A N/A setattr sys N/A self _stream N/A N/A N/A self _old_targets pop N/A N/A redirect_stdout N/A _RedirectStream N/A N/A Context manager for temporarily redirecting stdout to another file::

        # How to send help() to stderr
        with redirect_stdout(sys.stderr):
            help(dir)

        # How to write help() to a file
        with open('help.txt', 'w') as f:
            with redirect_stdout(f):
                help(pow)

    Mostly for backwards compatibility.
     N/A _stream stdout N/A redirect_stderr N/A _RedirectStream N/A N/A Context manager for temporarily redirecting stderr to another file. N/A _stream stderr N/A command_not_found N/A N/A cmd N/A N/A N/A Uses the debian/ubuntu command-not-found utility to suggest packages for a
    command that cannot currently be found.
     N/A N/A ON_LINUX N/A N/A N/A N/A N/A N/A N/A N/A os path isfile /usr/lib/command-not-found N/A N/A N/A c /usr/lib/command-not-found {0}; exit 0 N/A s N/A N/A subprocess check_output N/A N/A c format cmd universal_newlines True stderr N/A subprocess STDOUT shell True N/A s N/A N/A N/A N/A join N/A N/A N/A s splitlines N/A -1 strip N/A s N/A suggest_commands N/A N/A cmd env aliases N/A N/A N/A Suggests alternative commands given an environment and aliases. N/A suggest_cmds N/A N/A env get SUGGEST_COMMANDS N/A N/A suggest_cmds N/A N/A N/A thresh N/A N/A env get SUGGEST_THRESHOLD N/A max_sugg N/A N/A env get SUGGEST_MAX_NUM N/A N/A max_sugg 0 N/A N/A max_sugg N/A float inf N/A cmd N/A N/A cmd lower N/A suggested N/A N/A a N/A builtins aliases N/A N/A N/A a suggested N/A N/A N/A N/A levenshtein N/A N/A a lower cmd thresh thresh N/A N/A N/A suggested N/A a Alias N/A d N/A filter N/A N/A os path isdir N/A N/A env get PATH N/A N/A f N/A N/A os listdir d N/A N/A N/A f suggested N/A N/A N/A N/A levenshtein N/A N/A f lower cmd thresh thresh N/A N/A fname N/A N/A N/A os path join d f N/A N/A suggested N/A f N/A N/A Command ({0}) format fname N/A suggested N/A OrderedDict N/A sorted N/A N/A suggested items key N/A N/A N/A x N/A N/A suggestion_sort_helper N/A N/A N/A x N/A 0 lower cmd N/A num N/A min N/A len suggested max_sugg N/A N/A num 0 N/A N/A rtn N/A command_not_found cmd N/A N/A oneof N/A N/A num 1 one of  N/A tips N/A N/A Did you mean {}the following? format oneof N/A items N/A list N/A N/A N/A suggested popitem False N/A _ N/A range num N/A length N/A N/A max N/A N/A len key N/A N/A key _ items 2 N/A alternatives N/A N/A join N/A N/A N/A     {: <{}} {} format N/A key : length val N/A N/A key val items N/A rtn N/A N/A {}
{} format tips alternatives N/A c N/A command_not_found cmd N/A rtn N/A N/A N/A len c 0 N/A c N/A rtn N/A print_exception N/A N/A N/A N/A N/A Print exceptions with/without traceback. N/A N/A XONSH_SHOW_TRACEBACK N/A builtins __xonsh_env__ N/A N/A N/A N/A N/A sys stderr write xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True
 N/A N/A N/A N/A builtins __xonsh_env__ get XONSH_SHOW_TRACEBACK N/A N/A N/A N/A traceback print_exc N/A N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A exception_only N/A N/A traceback format_exception_only exc_type exc_value N/A N/A N/A N/A sys stderr write N/A N/A join exception_only N/A levenshtein N/A N/A a b max_dist N/A N/A float inf N/A N/A Calculates the Levenshtein distance between a and b. N/A N/A n m N/A N/A len a N/A len b N/A N/A N/A abs N/A n m max_dist N/A N/A N/A float inf N/A N/A n m N/A N/A N/A a b N/A b a N/A N/A n m N/A m n N/A current N/A range N/A n 1 N/A i N/A range 1 N/A m 1 N/A N/A N/A previous current N/A current N/A N/A i N/A N/A 0 n N/A j N/A range 1 N/A n 1 N/A N/A N/A add delete N/A N/A N/A previous N/A j 1 N/A N/A current N/A N/A j 1 1 N/A change N/A previous N/A N/A j 1 N/A N/A N/A a N/A N/A j 1 N/A b N/A N/A i 1 N/A N/A change N/A change 1 N/A N/A current N/A j N/A min add delete change N/A N/A current N/A n N/A suggestion_sort_helper N/A N/A x y N/A N/A N/A Returns a score (lower is better) for x based on how similar
    it is to y.  Used to rank suggestions. N/A x N/A N/A x lower N/A y N/A N/A y lower N/A lendiff N/A N/A len x N/A len y N/A inx N/A len N/A i N/A i x N/A i y N/A iny N/A len N/A i N/A i y N/A i x N/A N/A N/A lendiff inx iny N/A escape_windows_cmd_string N/A N/A s N/A N/A N/A Returns a string that is usable by the Windows cmd.exe.
    The escaping is based on details here and emperical testing:
    http://www.robvanderwoude.com/escapechars.php
     N/A c ()%!^<>&|" N/A N/A s N/A N/A s replace c N/A ^ c N/A s N/A N/A s replace /? /. N/A s N/A argvquote N/A N/A arg force N/A False N/A N/A  Returns an argument quoted in such a way that that CommandLineToArgvW
    on Windows will return the argument string unchanged.
    This is the same thing Popen does when supplied with an list of arguments.
    Arguments in a command line should be separated by spaces; this
    function does not add these spaces. This implementation follows the
    suggestions outlined here:
    https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/
     N/A N/A N/A force N/A N/A len arg 0 N/A N/A any N/A N/A c arg N/A c  	
" N/A N/A arg N/A N/A n_backslashes 0 N/A cmdline " N/A c arg N/A N/A N/A c " N/A N/A cmdline N/A N/A N/A n_backslashes 2 1 \ N/A N/A cmdline N/A n_backslashes \ N/A N/A c \ N/A N/A cmdline c N/A n_backslashes 0 N/A N/A n_backslashes 1 N/A N/A N/A cmdline N/A N/A n_backslashes 2 \ " N/A on_main_thread N/A N/A N/A N/A N/A Checks if we are on the main thread or not. N/A N/A N/A N/A threading current_thread N/A N/A threading main_thread N/A swap N/A N/A namespace name value default N/A NotImplemented N/A N/A Swaps a current variable name in a namespace for another value, and then
    replaces it when the context is exited.
     N/A old N/A getattr namespace name default N/A N/A setattr namespace name value N/A N/A value N/A N/A old default N/A N/A N/A delattr namespace name N/A N/A N/A setattr namespace name old N/A contextmanager is_int N/A N/A x N/A N/A N/A Tests if something is an integer N/A N/A isinstance x int N/A is_float N/A N/A x N/A N/A N/A Tests if something is a float N/A N/A isinstance x float N/A is_string N/A N/A x N/A N/A N/A Tests if something is a string N/A N/A isinstance x string_types N/A always_true N/A N/A x N/A N/A N/A Returns True N/A True N/A always_false N/A N/A x N/A N/A N/A Returns False N/A False N/A ensure_string N/A N/A x N/A N/A N/A Returns a string if x is not a string, and x if it already is. N/A N/A isinstance x string_types N/A N/A x N/A N/A N/A str x N/A is_env_path N/A N/A x N/A N/A N/A This tests if something is an environment path, ie a list of strings. N/A N/A isinstance x string_types N/A N/A False N/A N/A N/A N/A isinstance x Sequence N/A all N/A N/A isinstance a string_types N/A a x N/A str_to_env_path N/A N/A x N/A N/A N/A Converts a string to an environment path, ie a list of strings,
    splitting on the OS separator.
     N/A N/A N/A x split N/A os pathsep N/A env_path_to_str N/A N/A x N/A N/A N/A Converts an environment path to a string by joining on the OS separator. N/A N/A N/A N/A os pathsep join x N/A is_bool N/A N/A x N/A N/A N/A Tests if something is a boolean. N/A N/A isinstance x bool N/A N/A _FALSES N/A frozenset N/A 0 n f no none false to_bool N/A N/A x N/A N/A N/A "Converts to a boolean in a semantically meaningful way. N/A N/A isinstance x bool N/A N/A x N/A N/A N/A isinstance x string_types N/A N/A N/A N/A N/A N/A x lower _FALSES False True N/A N/A N/A bool x N/A bool_to_str N/A N/A x N/A N/A N/A Converts a bool to an empty string if False and the string '1' if True. N/A N/A x 1 N/A N/A _BREAKS N/A frozenset N/A b break s skip q quit to_bool_or_break N/A N/A x N/A N/A N/A N/A N/A isinstance x string_types N/A N/A N/A x lower _BREAKS N/A N/A break N/A N/A N/A to_bool x N/A ensure_int_or_slice N/A N/A x N/A N/A N/A Makes sure that x is list-indexable. N/A N/A x None N/A N/A N/A slice None N/A N/A N/A is_int x N/A N/A x N/A N/A : x N/A N/A x N/A N/A x strip []() N/A N/A slice N/A N/A N/A N/A len x 0 N/A int x None N/A x N/A N/A x split : N/A N/A N/A int x N/A is_string_set N/A N/A x N/A N/A N/A Tests if something is a set N/A N/A isinstance x string_types N/A N/A False N/A N/A N/A N/A isinstance x Set N/A all N/A N/A isinstance a string_types N/A a x N/A csv_to_set N/A N/A x N/A N/A N/A Convert a comma-separated list of strings to a set of strings. N/A N/A x N/A N/A N/A set N/A N/A N/A set N/A N/A x split , N/A set_to_csv N/A N/A x N/A N/A N/A Convert a set of strings to a comma-separated list of strings. N/A N/A N/A , join x N/A is_bool_seq N/A N/A x N/A N/A N/A Tests if an object is a sequence of bools. N/A N/A N/A isinstance x Sequence N/A all N/A map isinstance x N/A N/A bool N/A len x N/A csv_to_bool_seq N/A N/A x N/A N/A N/A Takes a comma-separated string and converts it into a list of bools. N/A N/A N/A len x 0 N/A N/A N/A N/A N/A list N/A map to_bool N/A N/A x split , N/A bool_seq_to_csv N/A N/A x N/A N/A N/A Converts a sequence of bools to a comma-separated string. N/A N/A N/A , join N/A map str x N/A is_completions_display_value N/A N/A x N/A N/A N/A N/A x N/A none single multi N/A to_completions_display_value N/A N/A x N/A N/A N/A x N/A N/A N/A str x lower N/A N/A x N/A none false N/A N/A x none N/A N/A N/A x N/A multi true N/A N/A x multi N/A N/A N/A x N/A single N/A N/A x single N/A N/A N/A warn N/A N/A N/A "{}" is not a valid value for $COMPLETIONS_DISPLAY.  format x Using "multi". RuntimeWarning N/A x multi N/A x N/A setup_win_unicode_console N/A N/A enable N/A N/A N/A "Enables or disables unicode display on windows. N/A enable N/A to_bool enable N/A N/A ON_WINDOWS win_unicode_console N/A N/A enable N/A N/A N/A N/A win_unicode_console enable N/A N/A N/A N/A win_unicode_console disable N/A enable N/A N/A _min_to_sec N/A N/A N/A x N/A N/A 60.0 N/A float x N/A _hour_to_sec N/A N/A N/A x N/A N/A 60.0 N/A _min_to_sec x N/A _day_to_sec N/A N/A N/A x N/A N/A 24.0 N/A _hour_to_sec x N/A _month_to_sec N/A N/A N/A x N/A N/A 30.4375 N/A _day_to_sec x N/A _year_to_sec N/A N/A N/A x N/A N/A 365.25 N/A _day_to_sec x N/A _kb_to_b N/A N/A N/A x N/A N/A 1024 N/A int x N/A _mb_to_b N/A N/A N/A x N/A N/A 1024 N/A _kb_to_b x N/A _gb_to_b N/A N/A N/A x N/A N/A 1024 N/A _mb_to_b x N/A _tb_to_b N/A N/A N/A x N/A N/A 1024 N/A _tb_to_b x N/A CANON_HISTORY_UNITS N/A frozenset N/A commands files s b N/A HISTORY_UNITS N/A c cmd cmds command commands f files s sec second seconds m min mins h hr hour hours d day days mon month months y yr yrs year years b byte bytes kb kilobyte kilobytes mb meg megs megabyte megabytes gb gig gigs gigabyte gigabytes tb terabyte terabytes N/A commands int N/A commands int N/A commands int N/A commands int N/A commands int N/A commands int N/A files int N/A files int N/A s float N/A s float N/A s float N/A s float N/A s _min_to_sec N/A s _min_to_sec N/A s _min_to_sec N/A s _hour_to_sec N/A s _hour_to_sec N/A s _hour_to_sec N/A s _hour_to_sec N/A s _day_to_sec N/A s _day_to_sec N/A s _day_to_sec N/A s _month_to_sec N/A s _month_to_sec N/A s _month_to_sec N/A s _year_to_sec N/A s _year_to_sec N/A s _year_to_sec N/A s _year_to_sec N/A s _year_to_sec N/A b int N/A b int N/A b int N/A b _kb_to_b N/A b _kb_to_b N/A b _kb_to_b N/A b _mb_to_b N/A b _mb_to_b N/A b _mb_to_b N/A b _mb_to_b N/A b _mb_to_b N/A b _gb_to_b N/A b _gb_to_b N/A b _gb_to_b N/A b _gb_to_b N/A b _gb_to_b N/A b _tb_to_b N/A b _tb_to_b N/A b _tb_to_b N/A Maps lowercase unit names to canonical name and conversion utilities. is_history_tuple N/A N/A x N/A N/A N/A Tests if something is a proper history value, units tuple. N/A N/A N/A isinstance x Sequence N/A N/A len x 2 N/A isinstance N/A x N/A 0 N/A int float N/A N/A N/A N/A x N/A 1 lower CANON_HISTORY_UNITS N/A N/A True N/A False N/A N/A RE_HISTORY_TUPLE N/A N/A re compile ([-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)\s*([A-Za-z]*) to_history_tuple N/A N/A x N/A N/A N/A Converts to a canonincal history tuple. N/A N/A N/A isinstance x N/A Sequence float int N/A N/A N/A ValueError history size must be given as a sequence or number N/A N/A isinstance x str N/A N/A m N/A N/A RE_HISTORY_TUPLE match N/A N/A x strip N/A N/A to_history_tuple N/A N/A N/A m group 1 N/A N/A m group 3 N/A N/A N/A isinstance x N/A float int N/A N/A N/A to_history_tuple N/A x commands N/A N/A units converter N/A HISTORY_UNITS N/A N/A x N/A 1 N/A value N/A converter N/A x N/A 0 N/A N/A value units N/A history_tuple_to_str N/A N/A x N/A N/A N/A Converts a valid history tuple to a canonical string. N/A N/A N/A {0} {1} format x N/A format_color N/A N/A string N/A kwargs N/A N/A Formats strings that may contain colors. This simply dispatches to the
    shell instances method of the same name. The results of this function should
    be directly usable by print_color().
     N/A N/A N/A N/A N/A builtins __xonsh_shell__ shell format_color string kwargs N/A print_color N/A N/A string N/A kwargs N/A N/A Prints a string that may contain colors. This dispatched to the shell
    method of the same name. Colors will be formatted if they have not already
    been.
     N/A N/A N/A N/A N/A builtins __xonsh_shell__ shell print_color string kwargs N/A color_style_names N/A N/A N/A N/A N/A Returns an iterable of all available style names. N/A N/A N/A N/A N/A builtins __xonsh_shell__ shell color_style_names N/A color_style N/A N/A N/A N/A N/A Returns the current color map. N/A N/A N/A N/A N/A builtins __xonsh_shell__ shell color_style N/A N/A N/A N/A prompt_toolkit N/A N/A N/A ImportError N/A N/A prompt_toolkit None _get_color_indexes N/A N/A style_map N/A N/A N/A  Generates the color and windows color index for a style  N/A table N/A N/A N/A N/A prompt_toolkit terminal win32_output ColorLookupTable N/A pt_style N/A N/A N/A prompt_toolkit styles style_from_dict style_map N/A token style_map N/A N/A attr N/A N/A pt_style token_to_attrs N/A token N/A N/A N/A attr color None N/A N/A index N/A N/A table lookup_color N/A attr color N/A attr bgcolor N/A N/A N/A rgb N/A N/A int N/A N/A attr color N/A 0 2 16 N/A int N/A N/A attr color N/A 2 4 16 N/A int N/A N/A attr color N/A 4 6 16 N/A N/A N/A N/A rgb None N/A N/A N/A token index rgb N/A intensify_colors_for_cmd_exe N/A N/A style_map replace_colors N/A None N/A N/A Returns a modified style to where colors that maps to dark
       colors are replaced with brighter versions. Also expands the
       range used by the gray colors
     N/A modified_style N/A N/A N/A N/A ON_WINDOWS N/A prompt_toolkit None N/A N/A modified_style N/A N/A replace_colors None N/A N/A replace_colors N/A 1 2 4 5 6 9 #44ffff #44ff44 #ff4444 #ff44ff #ffff44 #00aaaa N/A N/A token idx _ N/A _get_color_indexes style_map N/A N/A N/A idx replace_colors N/A N/A N/A modified_style N/A token N/A replace_colors N/A idx N/A modified_style N/A expand_gray_colors_for_cmd_exe N/A N/A style_map N/A N/A N/A  Expand the style's gray scale color range.
        All gray scale colors has a tendency to map to the same default GRAY
        in cmd.exe.
     N/A modified_style N/A N/A N/A N/A ON_WINDOWS N/A prompt_toolkit None N/A N/A modified_style N/A N/A token idx rgb N/A _get_color_indexes style_map N/A N/A N/A N/A idx 7 rgb N/A N/A N/A N/A sum rgb 306 N/A N/A N/A modified_style N/A token #444444 N/A N/A N/A N/A sum rgb 408 N/A N/A N/A modified_style N/A token #ffffff N/A modified_style N/A intensify_colors_on_win_setter N/A N/A enable N/A N/A N/A  Resets the style when setting the INTENSIFY_COLORS_ON_WIN
        environment variable.  N/A enable N/A to_bool enable N/A N/A delattr N/A N/A N/A builtins __xonsh_shell__ shell styler style_name N/A enable N/A N/A _RE_STRING_START [bBrRuU]* N/A _RE_STRING_TRIPLE_DOUBLE """ N/A _RE_STRING_TRIPLE_SINGLE ''' N/A _RE_STRING_DOUBLE " N/A _RE_STRING_SINGLE ' N/A _STRINGS N/A _RE_STRING_TRIPLE_DOUBLE _RE_STRING_TRIPLE_SINGLE _RE_STRING_DOUBLE _RE_STRING_SINGLE N/A RE_BEGIN_STRING N/A N/A re compile N/A N/A N/A N/A ( _RE_STRING_START ( N/A N/A | join _STRINGS )) N/A Regular expression matching the start of a string, including quotes and
leading characters (r, b, or u) N/A RE_STRING_START N/A N/A re compile _RE_STRING_START N/A Regular expression matching the characters before the quotes when starting a
string (r, b, or u, case insensitive) N/A RE_STRING_CONT N/A k N/A N/A re compile v N/A N/A k v N/A N/A N/A " ' """ ''' ((\\(.|\n))|([^"\\]))* ((\\(.|\n))|([^'\\]))* ((\\(.|\n))|([^"\\])|("(?!""))|\n)* ((\\(.|\n))|([^'\\])|('(?!''))|\n)* items N/A Dictionary mapping starting quote sequences to regular expressions that
match the contents of a string beginning with those quotes (not including the
terminating quotes) check_for_partial_string N/A N/A x N/A N/A N/A 
    Returns the starting index (inclusive), ending index (exclusive), and
    starting quote string of the most recent Python string found in the input.

    check_for_partial_string(x) -> (startix, endix, quote)

    Parameters
    ----------
    x : str
        The string to be checked (representing a line of terminal input)

    Returns
    -------
    startix : int (or None)
        The index where the most recent Python string found started
        (inclusive), or None if no strings exist in the input

    endix : int (or None)
        The index where the most recent Python string found ended (exclusive),
        or None if no strings exist in the input OR if the input ended in the
        middle of a Python string

    quote : str (or None)
        A string containing the quote used to start the string (e.g., b", ",
        '''), or None if no string was found.
     N/A string_indices N/A N/A starting_quote N/A N/A current_index 0 N/A match N/A N/A re search RE_BEGIN_STRING x N/A N/A match None N/A N/A start N/A N/A match start N/A quote N/A N/A match group 0 N/A lenquote N/A len quote N/A current_index start N/A N/A N/A string_indices append current_index N/A N/A N/A starting_quote append quote N/A ender N/A N/A re sub RE_STRING_START quote N/A x N/A x N/A N/A start lenquote N/A current_index lenquote N/A continuer N/A RE_STRING_CONT N/A ender N/A contents N/A N/A re match continuer x N/A inside N/A N/A contents group 0 N/A leninside N/A len inside N/A current_index N/A N/A N/A N/A contents start leninside N/A len ender N/A N/A N/A N/A contents end N/A len x N/A N/A N/A N/A string_indices append current_index N/A x N/A x N/A N/A leninside N/A len ender N/A match N/A N/A re search RE_BEGIN_STRING x N/A numquotes N/A len string_indices N/A N/A numquotes 0 N/A N/A N/A None None None N/A N/A N/A numquotes 2 N/A N/A N/A N/A string_indices N/A -1 None N/A starting_quote N/A -1 N/A N/A N/A N/A string_indices N/A -2 N/A string_indices N/A -1 N/A starting_quote N/A -1 N/A _is_in_env N/A N/A name N/A N/A N/A ENV N/A builtins __xonsh_env__ N/A N/A N/A name N/A ENV _d N/A name N/A ENV defaults N/A _get_env_string N/A N/A name N/A N/A N/A ENV N/A builtins __xonsh_env__ N/A value N/A N/A ENV get name N/A ensurer N/A N/A ENV get_ensurer name N/A N/A N/A ensurer detype bool_to_str N/A N/A value N/A ensure_string value N/A N/A value N/A N/A ensurer detype value N/A value N/A expandvars N/A N/A path N/A N/A N/A Expand shell variables of the forms $var, ${var} and %var%.

    Unknown variables are left unchanged. N/A ENV N/A builtins __xonsh_env__ N/A N/A isinstance path bytes N/A N/A path N/A N/A path decode encoding N/A N/A ENV get XONSH_ENCODING errors N/A N/A ENV get XONSH_ENCODING_ERRORS N/A N/A N/A $ path N/A N/A ON_WINDOWS N/A % path N/A N/A path N/A string N/A varchars N/A N/A N/A string ascii_letters N/A string digits _- N/A quote ' N/A percent % N/A brace { N/A rbrace } N/A dollar $ N/A res N/A path N/A 0 N/A index 0 N/A pathlen N/A len path N/A N/A index pathlen N/A N/A c N/A path N/A index N/A index 1 N/A N/A c quote N/A N/A path N/A path N/A N/A index 1 N/A pathlen N/A len path N/A N/A N/A index N/A N/A path index c N/A res N/A c N/A path N/A N/A index 1 N/A N/A N/A ValueError N/A N/A res N/A c path N/A index N/A pathlen 1 N/A N/A N/A N/A c percent ON_WINDOWS N/A N/A N/A N/A path N/A N/A index 1 N/A index 2 percent N/A N/A res c N/A index 1 N/A N/A path N/A path N/A N/A index 1 N/A pathlen N/A len path N/A N/A N/A index N/A N/A path index percent N/A N/A N/A ValueError N/A N/A res N/A percent path N/A index N/A pathlen 1 N/A N/A var N/A path N/A index N/A N/A _is_in_env var N/A N/A value N/A _get_env_string var N/A N/A value N/A N/A percent var percent N/A res value N/A N/A N/A c dollar N/A N/A N/A N/A path N/A N/A index 1 N/A index 2 dollar N/A N/A res c N/A index 1 N/A N/A N/A N/A path N/A N/A index 1 N/A index 2 brace N/A N/A path N/A path N/A N/A index 2 N/A pathlen N/A len path N/A N/A N/A index N/A N/A path index rbrace N/A N/A N/A ValueError N/A N/A res N/A N/A dollar brace path N/A index N/A pathlen 1 N/A N/A var N/A path N/A index N/A N/A N/A var N/A eval var N/A builtins __xonsh_ctx__ N/A N/A _is_in_env var N/A N/A value N/A _get_env_string var N/A N/A N/A var Ellipsis N/A N/A value N/A N/A N/A dollar brace ... rbrace N/A N/A value N/A N/A N/A dollar brace var rbrace N/A N/A N/A N/A value N/A N/A N/A dollar brace var rbrace N/A res value N/A N/A var N/A path N/A 0 N/A index 1 N/A c N/A path N/A index N/A index 1 N/A N/A c N/A c varchars N/A N/A var c N/A index 1 N/A c N/A path N/A index N/A index 1 N/A N/A _is_in_env var N/A N/A value N/A _get_env_string var N/A N/A value N/A dollar var N/A res value N/A c N/A N/A index 1 N/A N/A res c N/A index 1 N/A res N/A backup_file N/A N/A fname N/A N/A N/A Moves an existing file to a new name that has the current time right
    before the extension.
     N/A shutil datetime datetime N/A N/A base ext N/A N/A N/A os path splitext fname N/A newfname N/A N/A N/A base . N/A N/A N/A N/A datetime now isoformat ext N/A N/A N/A shutil move fname newfname N/A normabspath N/A N/A p N/A N/A N/A Retuns as normalized absolute path, namely, normcase(abspath(p)) N/A N/A N/A N/A os path normcase N/A N/A N/A os path abspath p N/A CommandsCache N/A Set N/A N/A A lazy cache representing the commands available on the file system. __init__ N/A N/A self N/A N/A N/A N/A self _cmds_cache N/A frozenset N/A N/A self _path_checksum None N/A N/A self _alias_checksum None N/A N/A self _path_mtime -1 N/A __contains__ N/A N/A self item N/A N/A N/A N/A item N/A self all_commands N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self all_commands N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self all_commands N/A all_commands N/A N/A self N/A N/A N/A path N/A N/A N/A builtins __xonsh_env__ get PATH N/A N/A path_hash N/A hash N/A frozenset path N/A cache_valid N/A path_hash N/A self _path_checksum N/A N/A self _path_checksum path_hash N/A al_hash N/A hash N/A frozenset N/A N/A N/A builtins aliases keys N/A cache_valid N/A cache_valid N/A al_hash N/A self _alias_checksum N/A N/A self _alias_checksum al_hash N/A pm N/A self _path_mtime N/A d N/A filter N/A N/A os path isdir path N/A N/A m N/A N/A N/A os stat d st_mtime N/A N/A m pm N/A N/A pm m N/A cache_valid False N/A N/A self _path_mtime pm N/A cache_valid N/A N/A N/A self _cmds_cache N/A allcmds N/A set N/A d N/A filter N/A N/A os path isdir path N/A N/A allcmds N/A set N/A N/A os listdir d N/A allcmds N/A set N/A N/A N/A builtins aliases keys N/A N/A self _cmds_cache N/A frozenset allcmds N/A N/A self _cmds_cache N/A property N/A