Module Expr Str ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot SubscriptLoad NameLoad Index Num body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call NameLoad BinOpAdd ListLoad Str SubscriptLoad NameLoad Slice Num NameLoad BinOpAdd SubscriptLoad NameLoad Slice Num ListLoad Str body If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad ListLoad NameLoad NameLoad keyword NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd Call AttributeLoad Str attr NameLoad IfExp NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Return BinOpMult BinOpMult Call NameLoad Call AttributeLoad NameLoad attr Num Str decorator_list For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list
N/A N/A Tools for preparing code to be run in the REPL (removing blank lines,
etc) bpython.lazyre LazyReCompile N/A indent_empty_lines_re N/A LazyReCompile \s* N/A tabs_to_spaces_re N/A LazyReCompile ^\t+ indent_empty_lines N/A N/A s compiler N/A N/A N/A Indents blank lines that would otherwise cause early compilation

    Only really works if starting on a new line N/A lines N/A N/A s split N/A ends_with_newline False N/A N/A lines N/A N/A lines N/A -1 N/A N/A ends_with_newline True N/A N/A N/A lines pop N/A result_lines N/A N/A N/A p_line line n_line N/A zip N/A N/A N/A lines N/A -1 lines N/A N/A lines N/A 1 N/A N/A N/A N/A N/A len line 0 N/A N/A p_indent N/A N/A N/A N/A indent_empty_lines_re match p_line group N/A n_indent N/A N/A N/A N/A indent_empty_lines_re match n_line group N/A N/A N/A result_lines append N/A N/A min N/A p_indent n_indent key len line N/A N/A N/A N/A result_lines append line N/A N/A N/A N/A join result_lines N/A ends_with_newline N/A leading_tabs_to_spaces N/A N/A s N/A N/A N/A lines N/A N/A s split N/A result_lines N/A tab_to_space N/A N/A m N/A N/A N/A N/A N/A N/A len N/A N/A m group 4 N/A N/A line lines N/A N/A N/A N/A result_lines append N/A N/A tabs_to_spaces_re sub tab_to_space line N/A N/A N/A join result_lines N/A preprocess N/A N/A s compiler N/A N/A N/A N/A indent_empty_lines N/A leading_tabs_to_spaces s compiler N/A