Module ImportFrom alias alias alias Import alias If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias orelse ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Num Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Slice SubscriptLoad NameLoad Index Num If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num body If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list
N/A __future__ division absolute_import print_function N/A sys N/A N/A N/A N/A sys version_info N/A 0 3 N/A io StringIO N/A io StringIO N/A compiler N/A inspect N/A textwrap N/A tokenize compiler_unparse unparse Comment N/A object N/A N/A  A comment block.
     N/A is_comment True __init__ N/A N/A self start_lineno end_lineno text N/A N/A N/A N/A self start_lineno start_lineno N/A N/A self end_lineno end_lineno N/A N/A self text text N/A add N/A N/A self string start end line N/A N/A N/A  Add a new comment line.
         N/A N/A self start_lineno N/A min N/A self start_lineno N/A start N/A 0 N/A N/A self end_lineno N/A max N/A self end_lineno N/A end N/A 0 N/A N/A self text string N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r, %r, %r) N/A N/A N/A self __class__ __name__ N/A self start_lineno N/A self end_lineno N/A self text N/A N/A NonComment N/A object N/A N/A  A non-comment block of code.
     N/A is_comment False __init__ N/A N/A self start_lineno end_lineno N/A N/A N/A N/A self start_lineno start_lineno N/A N/A self end_lineno end_lineno N/A add N/A N/A self string start end line N/A N/A N/A  Add lines to the block.
         N/A N/A N/A string strip N/A N/A N/A self start_lineno N/A min N/A self start_lineno N/A start N/A 0 N/A N/A self end_lineno N/A max N/A self end_lineno N/A end N/A 0 N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r, %r) N/A N/A N/A self __class__ __name__ N/A self start_lineno N/A self end_lineno N/A N/A CommentBlocker N/A object N/A N/A  Pull out contiguous comment blocks.
     __init__ N/A N/A self N/A N/A N/A N/A self current_block N/A NonComment 0 0 N/A N/A self blocks N/A N/A N/A self index N/A N/A process_file N/A N/A self file N/A N/A N/A  Process a file object.
         N/A N/A N/A N/A sys version_info N/A 0 3 N/A N/A nxt N/A file __next__ N/A N/A nxt N/A file next N/A token N/A N/A tokenize generate_tokens nxt N/A N/A N/A N/A self process_token token N/A N/A N/A self make_index N/A process_token N/A N/A self kind string start end line N/A N/A N/A  Process a single token.
         N/A N/A N/A self current_block is_comment N/A N/A N/A kind N/A tokenize COMMENT N/A N/A N/A N/A N/A self current_block add string start end line N/A N/A N/A N/A self new_noncomment N/A start N/A 0 N/A end N/A 0 N/A N/A N/A kind N/A tokenize COMMENT N/A N/A N/A N/A self new_comment string start end line N/A N/A N/A N/A N/A self current_block add string start end line N/A new_noncomment N/A N/A self start_lineno end_lineno N/A N/A N/A  We are transitioning from a noncomment to a comment.
         N/A block N/A NonComment start_lineno end_lineno N/A N/A N/A N/A self blocks append block N/A N/A self current_block block N/A new_comment N/A N/A self string start end line N/A N/A N/A  Possibly add a new comment.

        Only adds a new comment if this comment is the only thing on the line.
        Otherwise, it extends the noncomment block.
         N/A prefix N/A line N/A N/A start N/A 1 N/A N/A N/A prefix strip N/A N/A N/A N/A N/A self current_block add string start end line N/A N/A block N/A Comment N/A start N/A 0 N/A end N/A 0 string N/A N/A N/A N/A self blocks append block N/A N/A self current_block block N/A make_index N/A N/A self N/A N/A N/A  Make the index mapping lines of actual code to their associated
        prefix comments.
         N/A N/A prev block N/A zip N/A N/A self blocks N/A -1 N/A N/A self blocks N/A 1 N/A N/A N/A N/A block is_comment N/A N/A N/A N/A self index N/A N/A block start_lineno prev N/A search_for_comment N/A N/A self lineno default N/A None N/A N/A  Find the comment block just before the given line number.

        Returns None (or the specified default) if there is no such block.
         N/A N/A N/A self index N/A N/A N/A N/A self make_index N/A block N/A N/A N/A self index get lineno None N/A text N/A getattr block text default N/A text N/A N/A strip_comment_marker N/A N/A text N/A N/A N/A  Strip # markers at the front of a block of comment text.
     N/A lines N/A N/A line N/A N/A text splitlines N/A N/A N/A N/A lines append N/A N/A line lstrip # N/A text N/A N/A textwrap dedent N/A N/A join lines N/A text N/A get_class_traits N/A N/A klass N/A N/A N/A  Yield all of the documentation for trait definitions on a class object.
     N/A source N/A N/A inspect getsource klass N/A cb N/A CommentBlocker N/A N/A N/A cb process_file N/A StringIO source N/A mod_ast N/A N/A compiler parse source N/A class_ast N/A N/A N/A mod_ast node nodes N/A 0 N/A node N/A N/A class_ast code nodes N/A N/A N/A isinstance node N/A N/A compiler ast Assign N/A N/A name N/A N/A N/A node nodes N/A 0 name N/A rhs N/A N/A N/A unparse N/A node expr strip N/A doc N/A strip_comment_marker N/A N/A cb search_for_comment N/A node lineno default N/A N/A N/A name rhs doc N/A