Module FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd Call NameLoad Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad orelse AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Call NameLoad NameLoad Call NameLoad NameLoad orelse AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad decorator_list Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad If CompareEq NameLoad Str body Return Call NameLoad If CompareEq NameLoad Str body Return Call NameLoad If CompareEq NameLoad Str body Return Call NameLoad If CompareEq NameLoad Str body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return NameLoad While CompareIsNot NameLoad Str body AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict While Num body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr While CompareIsNot NameLoad Str body AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad While Num body Assign NameStore Call NameLoad If UnaryOpNot NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad NameStore body Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list
N/A _readchar N/A N/A bstring N/A N/A N/A char bstring N/A N/A N/A char N/A bencode N/A N/A canonical N/A N/A N/A 
        Turns a dictionary into a bencoded str with alphabetized keys
        e.g., {'spam': 'eggs', 'cow': 'moo'} --> d3:cow3:moo4:spam4:eggse
     N/A in_dict N/A dict canonical encode_str N/A N/A in_str N/A N/A N/A out_str N/A N/A N/A str N/A len in_str : in_str N/A out_str N/A encode_int N/A N/A in_int N/A N/A N/A out_str N/A str N/A N/A i N/A str in_int e N/A out_str N/A encode_list N/A N/A in_list N/A N/A N/A out_str l N/A item in_list N/A N/A out_str N/A encode_item item N/A N/A out_str e N/A out_str N/A encode_dict N/A N/A in_dict N/A N/A N/A out_str d N/A keys N/A sorted N/A N/A in_dict keys N/A key keys N/A N/A val N/A in_dict N/A key N/A out_str N/A N/A out_str N/A encode_item key N/A encode_item val N/A N/A out_str e N/A out_str N/A encode_item N/A N/A x N/A N/A N/A N/A isinstance x str N/A N/A N/A encode_str x N/A N/A N/A isinstance x int N/A N/A N/A encode_int x N/A N/A N/A isinstance x list N/A N/A N/A encode_list x N/A N/A N/A isinstance x dict N/A N/A N/A encode_dict x N/A N/A N/A encode_item in_dict N/A bdecode N/A N/A bstring N/A N/A N/A 
        Bdecodes a bencoded string
        e.g., d3:cow3:moo4:spam4:eggse -> {'cow': 'moo', 'spam': 'eggs'}
     get_val N/A N/A N/A N/A N/A i N/A N/A reader next N/A N/A N/A i isdigit N/A N/A str_len N/A get_len i N/A N/A get_str str_len N/A N/A i d N/A N/A N/A get_dict N/A N/A i l N/A N/A N/A get_list N/A N/A i i N/A N/A N/A get_int N/A N/A i e N/A N/A None N/A get_len N/A N/A i N/A N/A N/A len_str N/A str i N/A next_char N/A N/A reader next N/A N/A next_char e N/A N/A None N/A N/A next_char : N/A N/A len_str next_char N/A next_char N/A N/A reader next N/A N/A N/A int len_str N/A get_dict N/A N/A N/A N/A N/A this_dict N/A N/A 1 N/A N/A str_len N/A get_len N/A N/A str_len None N/A N/A this_dict N/A key N/A get_str str_len N/A val N/A get_val N/A N/A this_dict N/A key val N/A get_int N/A N/A N/A N/A N/A int_str N/A i N/A N/A reader next N/A N/A i e N/A N/A int_str i N/A i N/A N/A reader next N/A N/A N/A int int_str N/A get_str N/A N/A str_len N/A N/A N/A this_str N/A i N/A range str_len N/A N/A this_str N/A N/A reader next N/A this_str N/A get_list N/A N/A N/A N/A N/A this_list N/A N/A 1 N/A N/A val N/A get_val N/A N/A val N/A N/A this_list N/A N/A N/A this_list append val N/A N/A reader N/A _readchar bstring N/A dict_repr N/A get_val N/A dict_repr N/A bdecode_file N/A N/A filename N/A N/A N/A 
        Bdecodes a .torrent or other bencoded file
     N/A N/A open filename f N/A N/A N/A bdecode N/A N/A f read N/A