Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias Import alias ClassDef bases body Assign NameStore ListLoad TupleLoad Str ListLoad TupleLoad Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Return Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad BoolOpAnd UnaryOpNot NameLoad CompareNotEq Call AttributeLoad NameLoad attr Str Num body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr handlers ExceptHandler body Assign NameStore NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr Str Str TupleLoad NameLoad Dict orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str If CompareIsNot NameLoad NameLoad body Assign NameStore Num If CompareIn Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Lambda arguments args defaults NameLoad orelse Assign NameStore Num orelse If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num orelse Assign NameStore NameLoad If CompareIn Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice NameLoad NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults BinOpMod Str Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult ListLoad Str BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd NameLoad NameLoad NameLoad NameLoad If BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad NameLoad attr Str If BinOpBitAnd AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call NameLoad NameLoad Str Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Num body Assign NameStore Num If NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore SubscriptLoad NameLoad Slice NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body FunctionDef arguments args defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad vararg kwarg body Expr Str decorator_list FunctionDef arguments args TupleStore NameStore NameStore NameParam TupleStore NameStore NameStore defaults body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad vararg body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameParam TupleStore NameStore NameStore defaults body Expr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Print BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Print BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad
N/A N/A CallTips.py - An IDLE Extension to Jog Your Memory

Call Tips are floating windows which display function, class, and method
parameter and docstring information when you type an opening parenthesis, and
which disappear when you type a closing parenthesis.

 N/A re N/A sys N/A types N/A CallTipWindow HyperParser HyperParser N/A __main__ CallTips N/A N/A N/A menudefs N/A N/A edit N/A N/A Show call tip <<force-open-calltip>> __init__ N/A N/A self editwin N/A None N/A N/A N/A editwin None N/A N/A N/A self editwin None N/A N/A N/A self editwin editwin N/A N/A self text N/A editwin text N/A N/A self calltip None N/A N/A self _make_calltip_window N/A self _make_tk_calltip_window N/A close N/A N/A self N/A N/A N/A N/A self _make_calltip_window None N/A _make_tk_calltip_window N/A N/A self N/A N/A N/A N/A N/A CallTipWindow CallTip N/A self text N/A _remove_calltip_window N/A N/A self event N/A None N/A N/A N/A self calltip N/A N/A N/A N/A N/A self calltip hidetip N/A N/A self calltip None N/A force_open_calltip_event N/A N/A self event N/A N/A N/A Happens when the user really wants to open a CallTip, even if a
        function call is needed.
         N/A N/A N/A self open_calltip True N/A try_open_calltip_event N/A N/A self event N/A N/A N/A Happens when it would be nice to open a CallTip, but not really
        necessary, for example after an opening bracket, so function calls
        won't be made.
         N/A N/A N/A self open_calltip False N/A refresh_calltip_event N/A N/A self event N/A N/A N/A If there is already a calltip window, check if it is still needed,
        and if so, reload it.
         N/A N/A N/A self calltip N/A N/A N/A self calltip is_active N/A N/A N/A N/A self open_calltip False N/A open_calltip N/A N/A self evalfuncs N/A N/A N/A N/A N/A self _remove_calltip_window N/A hp N/A HyperParser N/A self editwin insert N/A sur_paren N/A N/A hp get_surrounding_brackets ( N/A N/A sur_paren N/A N/A N/A N/A N/A hp set_index N/A sur_paren N/A 0 N/A name N/A N/A hp get_expression N/A N/A N/A name N/A N/A evalfuncs N/A N/A N/A name find ( -1 N/A N/A N/A arg_text N/A N/A self fetch_tip name N/A N/A arg_text N/A N/A N/A N/A self calltip N/A N/A self _make_calltip_window N/A N/A N/A N/A self calltip showtip arg_text N/A sur_paren N/A 0 N/A sur_paren N/A 1 N/A fetch_tip N/A N/A self name N/A N/A N/A Return the argument list and docstring of a function or class

        If there is a Python subprocess, get the calltip there.  Otherwise,
        either fetch_tip() is running in the subprocess itself or it was called
        in an IDLE EditorWindow before any script had been run.

        The subprocess environment is that of the most recently run script.  If
        two unrelated modules are being edited some calltips in the current
        module may be inoperative if the module was not the last to run.

        To find methods, fetch_tip must be fed a fully qualified name.

         N/A N/A N/A rpcclt N/A N/A N/A N/A N/A self editwin flist pyshell interp rpcclt N/A N/A N/A N/A rpcclt None N/A rpcclt N/A N/A N/A N/A rpcclt remotecall exec get_the_calltip N/A name N/A N/A N/A entity N/A N/A self get_entity name N/A N/A get_arg_text entity N/A get_entity N/A N/A self name N/A N/A N/A Lookup name in a namespace spanning sys.modules and __main.dict__ N/A name N/A N/A namespace N/A N/A N/A sys modules copy N/A N/A N/A namespace update N/A __main__ __dict__ N/A N/A N/A N/A eval name namespace N/A N/A N/A N/A NameError AttributeError N/A N/A None N/A N/A _find_constructor N/A N/A class_ob N/A N/A N/A N/A N/A N/A N/A class_ob __init__ im_func N/A N/A N/A AttributeError N/A N/A base N/A class_ob __bases__ N/A N/A rc N/A _find_constructor base N/A N/A rc None N/A N/A rc N/A None N/A get_arg_text N/A N/A ob N/A N/A N/A Get a string describing the arguments for the given object N/A arg_text N/A N/A ob None N/A N/A arg_offset 0 N/A N/A N/A type ob N/A N/A types ClassType N/A types TypeType N/A N/A fob N/A _find_constructor ob N/A N/A fob None N/A N/A fob N/A N/A N/A N/A None N/A N/A arg_offset 1 N/A N/A N/A N/A type ob N/A types MethodType N/A N/A fob N/A ob im_func N/A arg_offset 1 N/A N/A fob ob N/A N/A N/A type fob N/A N/A types FunctionType N/A types LambdaType N/A N/A argcount N/A N/A fob func_code co_argcount N/A real_args N/A N/A N/A fob func_code co_varnames N/A arg_offset argcount N/A defaults N/A N/A fob func_defaults N/A N/A defaults N/A list N/A map N/A N/A N/A name N/A N/A =%s N/A repr name defaults N/A defaults N/A N/A N/A N/A N/A len real_args N/A len defaults defaults N/A items N/A map N/A N/A N/A arg dflt N/A N/A arg dflt real_args defaults N/A N/A N/A N/A fob func_code co_flags 4 N/A N/A N/A N/A items append ... N/A N/A N/A N/A fob func_code co_flags 8 N/A N/A N/A N/A items append *** N/A arg_text N/A N/A ,  join items N/A arg_text N/A (%s) N/A N/A re sub \.\d+ <tuple> arg_text N/A doc N/A getattr ob __doc__ N/A doc N/A N/A doc N/A N/A doc lstrip N/A pos N/A N/A doc find N/A N/A N/A pos 0 N/A pos 70 N/A N/A pos 70 N/A arg_text N/A N/A arg_text N/A arg_text N/A doc N/A pos N/A arg_text N/A N/A N/A __name__ __main__ N/A t1 N/A N/A N/A N/A N/A () N/A t2 N/A N/A a b N/A None N/A N/A (a, b=None) N/A t3 N/A N/A a N/A args N/A N/A (a, ...) N/A t4 N/A N/A N/A args N/A N/A (...) N/A t5 N/A N/A a N/A args N/A N/A (a, ...) N/A t6 N/A N/A a b N/A None args kw N/A N/A (a, b=None, ..., ***) N/A t7 N/A N/A N/A a b c N/A d e N/A N/A N/A (<tuple>, c, <tuple>) N/A TC N/A object N/A N/A (ai=None, ...) __init__ N/A N/A self ai N/A None b N/A N/A (ai=None, ...) N/A t1 N/A N/A self N/A N/A N/A () N/A t2 N/A N/A self ai b N/A None N/A N/A (ai, b=None) N/A t3 N/A N/A self ai N/A args N/A N/A (ai, ...) N/A t4 N/A N/A self N/A args N/A N/A (...) N/A t5 N/A N/A self ai N/A args N/A N/A (ai, ...) N/A t6 N/A N/A self ai b N/A None args kw N/A N/A (ai, b=None, ..., ***) N/A t7 N/A N/A self N/A ai b c N/A d e N/A N/A N/A (<tuple>, c, <tuple>) N/A N/A test N/A N/A tests N/A N/A N/A ct N/A CallTips N/A failed N/A N/A t tests N/A N/A expected N/A N/A N/A t __doc__ N/A t __doc__ N/A name N/A t __name__ N/A N/A N/A qualified_name N/A %s.%s N/A N/A N/A t im_class __name__ name N/A N/A N/A AttributeError N/A N/A qualified_name name N/A arg_text N/A N/A ct fetch_tip qualified_name N/A N/A arg_text expected N/A N/A N/A N/A failed append t N/A fmt %s - expected %s, but got %s N/A N/A fmt N/A N/A t __name__ expected N/A get_arg_text t N/A N/A %d of %d tests failed N/A N/A len failed N/A len tests N/A N/A tc N/A TC N/A tests N/A t1 t2 t3 t4 t5 t6 t7 TC N/A tc t1 N/A tc t2 N/A tc t3 N/A tc t4 N/A tc t5 N/A tc t6 N/A tc t7 N/A N/A test tests