Module Assign NameStore ListLoad Str Str Str Str Str ImportFrom alias Import alias AugAssignAdd NameStore AttributeLoad NameLoad attr ImportFrom alias alias ImportFrom alias identifier ImportFrom alias identifier Import alias identifier Import alias identifier ImportFrom alias identifier alias identifier alias identifier TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameStore ListLoad Assign SubscriptStore NameLoad Slice ListLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num AttributeLoad NameLoad attr body Expr Str If CompareNotIn NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num AttributeLoad NameLoad attr body Expr Str Expr Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad While CompareIsNot NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad While CompareIsNot NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Delete SubscriptDel NameLoad Slice Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body Expr Yield SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body Expr Yield TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad Return NameLoad If CompareIs NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad IfExp NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Expr Str Assign NameStore TupleLoad Call NameLoad NameLoad Call NameLoad If CompareIn NameLoad NameLoad body Return Str Assign SubscriptStore NameLoad Index NameLoad Num TryFinally body If UnaryOpNot NameLoad body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr finalbody Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp ListLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr For NameStore Call NameLoad Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return TupleLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return TupleLoad AttributeLoad NameLoad attr TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return BoolOpAnd CompareEq Call NameLoad NameLoad Call NameLoad NameLoad CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return UnaryOpNot CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpOr UnaryOpNot Call NameLoad GeneratorExp BoolOpOr Call AttributeLoad NameLoad attr CompareEq NameLoad Str comprehension NameStore NameLoad Call NameLoad NameLoad UnaryOpNot NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr Str CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad For NameStore BinOpAdd TupleLoad NameLoad NameLoad body If UnaryOpNot Call NameLoad GeneratorExp BoolOpOr Call AttributeLoad NameLoad attr CompareEq NameLoad Str comprehension NameStore NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Str Str Slice Num Num Assign NameStore Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore BinOpMod Str Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If NameLoad body Print NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword BinOpMod Str NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Exec NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Num attr attr Str Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Return Call NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad Num keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body If NameLoad body Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd Call NameLoad NameLoad Num NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd Call NameLoad NameLoad Num Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad BinOpSub Call NameLoad NameLoad Num NameLoad orelse For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpSub Call NameLoad NameLoad Num Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr Call NameLoad AttributeLoad Str attr Call AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad SubscriptLoad NameLoad Index NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareLt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad BinOpSub Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp CompareLt NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp CompareLt NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias alias Assign NameStore Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad keyword Num keyword Num Assert CompareEq NameLoad Call NameLoad Call NameLoad NameLoad ClassDef bases Call NameLoad Str Str body Assign NameStore TupleLoad FunctionDef arguments args NameParam defaults body Return BinOpPow BinOpAdd BinOpPow AttributeLoad NameLoad attr Num BinOpPow AttributeLoad NameLoad attr Num Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list For NameStore TupleLoad Call NameLoad Num Num Call NameLoad Num BinOpDiv Num Num body Print NameLoad ClassDef bases Call NameLoad Str Str body Expr Str Assign NameStore TupleLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr TupleLoad Str Str NameLoad decorator_list decorator_list Print Call AttributeLoad Call NameLoad Num Num attr keyword Num Assign NameStore Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr TupleLoad Str Print AttributeLoad NameLoad attr Import alias Assign NameStore Call NameLoad Str Str Print Call NameLoad Call AttributeLoad NameLoad attr
N/A N/A __all__ N/A Counter deque defaultdict namedtuple OrderedDict _abcoll * N/A _abcoll N/A __all__ N/A _abcoll __all__ _collections deque defaultdict operator itemgetter _itemgetter keyword iskeyword _iskeyword N/A sys _sys N/A heapq _heapq itertools repeat _repeat chain _chain starmap _starmap N/A N/A thread get_ident _get_ident N/A N/A N/A ImportError N/A dummy_thread get_ident _get_ident OrderedDict N/A dict N/A N/A Dictionary that remembers insertion order __init__ N/A N/A self N/A args kwds N/A N/A Initialize an ordered dictionary.  The signature is the same as
        regular dictionaries, but keyword arguments are not recommended because
        their insertion order is arbitrary.

         N/A N/A N/A len args 1 N/A N/A N/A TypeError N/A expected at most 1 arguments, got %d N/A len args N/A N/A N/A N/A self __root N/A N/A N/A AttributeError N/A N/A N/A self __root root N/A N/A N/A root N/A N/A root root None N/A N/A self __map N/A N/A N/A N/A self __update args kwds N/A __setitem__ N/A N/A self key value PREV NEXT dict_setitem N/A 0 1 N/A dict __setitem__ N/A N/A od.__setitem__(i, y) <==> od[i]=y N/A N/A key self N/A N/A root N/A self __root N/A last N/A root N/A PREV N/A N/A last N/A NEXT N/A root N/A PREV N/A N/A self __map N/A key N/A last root key N/A N/A dict_setitem self key value N/A __delitem__ N/A N/A self key PREV NEXT dict_delitem N/A 0 1 N/A dict __delitem__ N/A N/A od.__delitem__(y) <==> del od[y] N/A N/A dict_delitem self key N/A N/A link_prev link_next key N/A N/A N/A self __map pop key N/A N/A link_prev N/A NEXT link_next N/A N/A link_next N/A PREV link_prev N/A __iter__ N/A N/A self N/A N/A N/A od.__iter__() <==> iter(od) N/A N/A NEXT KEY N/A 1 2 N/A root N/A self __root N/A curr N/A root N/A NEXT N/A N/A curr root N/A N/A N/A N/A curr N/A KEY N/A curr N/A curr N/A NEXT N/A __reversed__ N/A N/A self N/A N/A N/A od.__reversed__() <==> reversed(od) N/A N/A PREV KEY N/A 0 2 N/A root N/A self __root N/A curr N/A root N/A PREV N/A N/A curr root N/A N/A N/A N/A curr N/A KEY N/A curr N/A curr N/A PREV N/A clear N/A N/A self N/A N/A N/A od.clear() -> None.  Remove all items from od. N/A node N/A N/A N/A self __map itervalues N/A N/A N/A node N/A N/A root N/A self __root N/A N/A root N/A N/A root root None N/A N/A N/A N/A self __map clear N/A N/A N/A dict clear self N/A keys N/A N/A self N/A N/A N/A od.keys() -> list of keys in od N/A N/A list self N/A values N/A N/A self N/A N/A N/A od.values() -> list of values in od N/A N/A N/A self N/A key N/A key self N/A items N/A N/A self N/A N/A N/A od.items() -> list of (key, value) pairs in od N/A N/A N/A key N/A self N/A key N/A key self N/A iterkeys N/A N/A self N/A N/A N/A od.iterkeys() -> an iterator over the keys in od N/A N/A iter self N/A itervalues N/A N/A self N/A N/A N/A od.itervalues -> an iterator over the values in od N/A k self N/A N/A N/A N/A self N/A k N/A iteritems N/A N/A self N/A N/A N/A od.iteritems -> an iterator over the (key, value) pairs in od N/A k self N/A N/A N/A N/A k N/A self N/A k N/A N/A update N/A MutableMapping update N/A __update update N/A __marker N/A object pop N/A N/A self key default N/A __marker N/A N/A od.pop(k[,d]) -> v, remove specified key and return the corresponding
        value.  If key is not found, d is returned if given, otherwise KeyError
        is raised.

         N/A N/A key self N/A N/A result N/A self N/A key N/A N/A self N/A key N/A result N/A N/A default N/A self __marker N/A N/A N/A KeyError key N/A default N/A setdefault N/A N/A self key default N/A None N/A N/A od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od N/A N/A key self N/A N/A N/A self N/A key N/A N/A self N/A key default N/A default N/A popitem N/A N/A self last N/A True N/A N/A od.popitem() -> (k, v), return and remove a (key, value) pair.
        Pairs are returned in LIFO order if last is true or FIFO order if false.

         N/A N/A self N/A N/A N/A KeyError dictionary is empty N/A key N/A next N/A last N/A reversed self N/A iter self N/A value N/A N/A self pop key N/A N/A key value N/A __repr__ N/A N/A self _repr_running N/A N/A N/A N/A od.__repr__() <==> repr(od) N/A call_key N/A N/A id self N/A _get_ident N/A N/A call_key _repr_running N/A N/A ... N/A N/A _repr_running N/A call_key 1 N/A N/A N/A N/A self N/A N/A N/A %s() N/A N/A N/A self __class__ __name__ N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A N/A self items N/A N/A N/A _repr_running N/A call_key N/A __reduce__ N/A N/A self N/A N/A N/A Return state information for pickling N/A items N/A N/A k N/A self N/A k N/A k self N/A inst_dict N/A N/A N/A vars self copy N/A k N/A vars N/A OrderedDict N/A N/A N/A N/A inst_dict pop k None N/A inst_dict N/A N/A N/A N/A self __class__ N/A items inst_dict N/A N/A N/A self __class__ N/A items N/A copy N/A N/A self N/A N/A N/A od.copy() -> a shallow copy of od N/A N/A N/A self __class__ self N/A fromkeys N/A N/A cls iterable value N/A None N/A N/A OD.fromkeys(S[, v]) -> New ordered dictionary with keys from S.
        If not specified, the value defaults to None.

         N/A self N/A cls N/A key iterable N/A N/A N/A self N/A key value N/A self N/A classmethod __eq__ N/A N/A self other N/A N/A N/A od.__eq__(y) <==> od==y.  Comparison to another OD is order-sensitive
        while comparison to a regular mapping is order-insensitive.

         N/A N/A isinstance other OrderedDict N/A N/A N/A N/A N/A len self N/A len other N/A N/A N/A self items N/A N/A other items N/A N/A N/A dict __eq__ self other N/A __ne__ N/A N/A self other N/A N/A N/A od.__ne__(y) <==> od!=y N/A N/A N/A self other N/A viewkeys N/A N/A self N/A N/A N/A od.viewkeys() -> a set-like object providing a view on od's keys N/A N/A KeysView self N/A viewvalues N/A N/A self N/A N/A N/A od.viewvalues() -> an object providing a view on od's values N/A N/A ValuesView self N/A viewitems N/A N/A self N/A N/A N/A od.viewitems() -> a set-like object providing a view on od's items N/A N/A ItemsView self N/A N/A namedtuple N/A N/A typename field_names verbose rename N/A False False N/A N/A Returns a new subclass of tuple with named fields.

    >>> Point = namedtuple('Point', 'x y')
    >>> Point.__doc__                   # docstring for the new class
    'Point(x, y)'
    >>> p = Point(11, y=22)             # instantiate with positional args or keywords
    >>> p[0] + p[1]                     # indexable like a plain tuple
    33
    >>> x, y = p                        # unpack like a regular tuple
    >>> x, y
    (11, 22)
    >>> p.x + p.y                       # fields also accessable by name
    33
    >>> d = p._asdict()                 # convert to a dictionary
    >>> d['x']
    11
    >>> Point(**d)                      # convert from a dictionary
    Point(x=11, y=22)
    >>> p._replace(x=100)               # _replace() is like str.replace() but targets named fields
    Point(x=100, y=22)

     N/A N/A isinstance field_names basestring N/A N/A field_names N/A N/A N/A N/A field_names replace , split N/A field_names N/A tuple N/A map str field_names N/A rename N/A N/A names N/A list field_names N/A seen N/A set N/A N/A i name N/A enumerate names N/A N/A N/A N/A N/A all N/A N/A N/A N/A c isalnum N/A c _ N/A c name N/A _iskeyword name N/A name N/A N/A N/A name N/A 0 isdigit N/A N/A name startswith _ N/A name seen N/A N/A N/A names N/A i N/A _%d i N/A N/A N/A seen add name N/A field_names N/A tuple names N/A name N/A N/A typename field_names N/A N/A N/A N/A all N/A N/A N/A N/A c isalnum N/A c _ N/A c name N/A N/A N/A ValueError N/A Type names and field names can only contain alphanumeric characters and underscores: %r name N/A N/A _iskeyword name N/A N/A N/A ValueError N/A Type names and field names cannot be a keyword: %r name N/A N/A N/A N/A name N/A 0 isdigit N/A N/A N/A ValueError N/A Type names and field names cannot start with a number: %r name N/A seen_names N/A set N/A name field_names N/A N/A N/A N/A N/A name startswith _ N/A rename N/A N/A N/A ValueError N/A Field names cannot start with an underscore: %r name N/A N/A name seen_names N/A N/A N/A ValueError N/A Encountered duplicate field name: %r name N/A N/A N/A seen_names add name N/A numfields N/A len field_names N/A argtxt N/A N/A N/A N/A repr field_names replace ' N/A 1 -1 N/A reprtxt N/A N/A ,  join N/A N/A %s=%%r name N/A name field_names N/A template N/A class %(typename)s(tuple):
        '%(typename)s(%(argtxt)s)' 

        __slots__ = () 

        _fields = %(field_names)r 

        def __new__(_cls, %(argtxt)s):
            'Create new instance of %(typename)s(%(argtxt)s)'
            return _tuple.__new__(_cls, (%(argtxt)s)) 

        @classmethod
        def _make(cls, iterable, new=tuple.__new__, len=len):
            'Make a new %(typename)s object from a sequence or iterable'
            result = new(cls, iterable)
            if len(result) != %(numfields)d:
                raise TypeError('Expected %(numfields)d arguments, got %%d' %% len(result))
            return result 

        def __repr__(self):
            'Return a nicely formatted representation string'
            return '%(typename)s(%(reprtxt)s)' %% self 

        def _asdict(self):
            'Return a new OrderedDict which maps field names to their values'
            return OrderedDict(zip(self._fields, self)) 

        __dict__ = property(_asdict) 

        def _replace(_self, **kwds):
            'Return a new %(typename)s object replacing specified fields with new values'
            result = _self._make(map(kwds.pop, %(field_names)r, _self))
            if kwds:
                raise ValueError('Got unexpected field names: %%r' %% kwds.keys())
            return result 

        def __getnewargs__(self):
            'Return self as a plain tuple.  Used by copy and pickle.'
            return tuple(self) 

 N/A locals N/A N/A i name N/A enumerate field_names N/A N/A template N/A         %s = _property(_itemgetter(%d), doc='Alias for field number %d')
 N/A name i i N/A verbose N/A N/A template N/A namespace N/A dict _itemgetter _itemgetter __name__ N/A namedtuple_%s typename OrderedDict OrderedDict _property property _tuple tuple N/A N/A N/A template namespace N/A N/A N/A SyntaxError N/A e N/A N/A N/A SyntaxError N/A N/A N/A e message :
 template N/A result N/A namespace N/A typename N/A N/A N/A N/A result __module__ N/A N/A N/A N/A N/A _sys _getframe 1 f_globals get __name__ __main__ N/A N/A N/A N/A AttributeError ValueError N/A N/A N/A result N/A Counter N/A dict N/A N/A Dict subclass for counting hashable items.  Sometimes called a bag
    or multiset.  Elements are stored as dictionary keys and their counts
    are stored as dictionary values.

    >>> c = Counter('abcdeabcdabcaba')  # count elements from a string

    >>> c.most_common(3)                # three most common elements
    [('a', 5), ('b', 4), ('c', 3)]
    >>> sorted(c)                       # list all unique elements
    ['a', 'b', 'c', 'd', 'e']
    >>> ''.join(sorted(c.elements()))   # list elements with repetitions
    'aaaaabbbbcccdde'
    >>> sum(c.values())                 # total of all counts
    15

    >>> c['a']                          # count of letter 'a'
    5
    >>> for elem in 'shazam':           # update counts from an iterable
    ...     c[elem] += 1                # by adding 1 to each element's count
    >>> c['a']                          # now there are seven 'a'
    7
    >>> del c['b']                      # remove all 'b'
    >>> c['b']                          # now there are zero 'b'
    0

    >>> d = Counter('simsalabim')       # make another counter
    >>> c.update(d)                     # add in the second counter
    >>> c['a']                          # now there are nine 'a'
    9

    >>> c.clear()                       # empty the counter
    >>> c
    Counter()

    Note:  If a count is set to zero or reduced to zero, it will remain
    in the counter until the entry is deleted or the counter is cleared:

    >>> c = Counter('aaabbc')
    >>> c['b'] -= 2                     # reduce the count of 'b' by two
    >>> c.most_common()                 # 'b' is still in, but its count is zero
    [('a', 3), ('c', 1), ('b', 0)]

     __init__ N/A N/A self iterable N/A None kwds N/A N/A Create a new, empty Counter object.  And if given, count elements
        from an input iterable.  Or, initialize the count from another mapping
        of elements to their counts.

        >>> c = Counter()                           # a new, empty counter
        >>> c = Counter('gallahad')                 # a new counter from an iterable
        >>> c = Counter({'a': 4, 'b': 2})           # a new counter from a mapping
        >>> c = Counter(a=4, b=2)                   # a new counter from keyword args

         N/A N/A N/A N/A super Counter self __init__ N/A N/A N/A self update iterable kwds N/A __missing__ N/A N/A self key N/A N/A N/A The count of elements not in the Counter is zero. N/A 0 N/A most_common N/A N/A self n N/A None N/A N/A List the n most common elements and their counts from the most
        common to the least.  If n is None, then list all element counts.

        >>> Counter('abcdeabcdabcaba').most_common(3)
        [('a', 5), ('b', 4), ('c', 3)]

         N/A N/A n None N/A N/A N/A sorted N/A N/A self iteritems key N/A _itemgetter 1 reverse True N/A N/A N/A _heapq nlargest n N/A N/A self iteritems key N/A _itemgetter 1 N/A elements N/A N/A self N/A N/A N/A Iterator over elements repeating each as many times as its count.

        >>> c = Counter('ABCABC')
        >>> sorted(c.elements())
        ['A', 'A', 'B', 'B', 'C', 'C']

        # Knuth's example for prime factors of 1836:  2**2 * 3**3 * 17**1
        >>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
        >>> product = 1
        >>> for factor in prime_factors.elements():     # loop over factors
        ...     product *= factor                       # and multiply them
        >>> product
        1836

        Note, if an element's count has been set to zero or is a negative
        number, elements() will ignore it.

         N/A N/A N/A _chain from_iterable N/A _starmap _repeat N/A N/A self iteritems N/A fromkeys N/A N/A cls iterable v N/A None N/A N/A N/A NotImplementedError Counter.fromkeys() is undefined.  Use Counter(iterable) instead. N/A classmethod update N/A N/A self iterable N/A None kwds N/A N/A Like dict.update() but add counts instead of replacing them.

        Source can be an iterable, a dictionary, or another Counter instance.

        >>> c = Counter('which')
        >>> c.update('witch')           # add elements from another iterable
        >>> d = Counter('watch')
        >>> c.update(d)                 # add elements from another counter
        >>> c['h']                      # four 'h' in which, witch, and watch
        4

         N/A N/A iterable None N/A N/A N/A isinstance iterable Mapping N/A N/A self N/A N/A self_get N/A self get N/A N/A elem count N/A N/A iterable iteritems N/A N/A N/A self N/A elem N/A N/A self_get elem 0 count N/A N/A N/A N/A N/A super Counter self update iterable N/A N/A self_get N/A self get N/A elem iterable N/A N/A N/A self N/A elem N/A N/A self_get elem 0 1 N/A kwds N/A N/A N/A N/A self update kwds N/A subtract N/A N/A self iterable N/A None kwds N/A N/A Like dict.update() but subtracts counts instead of replacing them.
        Counts can be reduced below zero.  Both the inputs and outputs are
        allowed to contain zero and negative counts.

        Source can be an iterable, a dictionary, or another Counter instance.

        >>> c = Counter('which')
        >>> c.subtract('witch')             # subtract elements from another iterable
        >>> c.subtract(Counter('watch'))    # subtract elements from another counter
        >>> c['h']                          # 2 in which, minus 1 in witch, minus 1 in watch
        0
        >>> c['w']                          # 1 in which, minus 1 in witch, minus 1 in watch
        -1

         N/A N/A iterable None N/A N/A self_get N/A self get N/A N/A isinstance iterable Mapping N/A N/A N/A elem count N/A N/A iterable items N/A N/A N/A self N/A elem N/A N/A self_get elem 0 count N/A N/A elem iterable N/A N/A N/A self N/A elem N/A N/A self_get elem 0 1 N/A kwds N/A N/A N/A N/A self subtract kwds N/A copy N/A N/A self N/A N/A N/A Return a shallow copy. N/A N/A N/A self __class__ self N/A __reduce__ N/A N/A self N/A N/A N/A N/A N/A self __class__ N/A N/A dict self N/A __delitem__ N/A N/A self elem N/A N/A N/A Like dict.__delitem__() but does not raise KeyError for missing values. N/A N/A elem self N/A N/A N/A N/A N/A super Counter self __delitem__ elem N/A __repr__ N/A N/A self N/A N/A N/A N/A self N/A N/A N/A %s() N/A N/A self __class__ __name__ N/A items N/A N/A ,  join N/A map N/A %r: %r __mod__ N/A N/A self most_common N/A N/A %s({%s}) N/A N/A N/A self __class__ __name__ items N/A __add__ N/A N/A self other N/A N/A N/A Add counts from two counters.

        >>> Counter('abbb') + Counter('bcc')
        Counter({'b': 4, 'c': 2, 'a': 1})

         N/A N/A N/A isinstance other Counter N/A N/A NotImplemented N/A result N/A Counter N/A N/A elem count N/A N/A self items N/A N/A newcount N/A count N/A other N/A elem N/A N/A newcount 0 N/A N/A N/A result N/A elem newcount N/A N/A elem count N/A N/A other items N/A N/A N/A N/A elem self N/A count 0 N/A N/A N/A result N/A elem count N/A result N/A __sub__ N/A N/A self other N/A N/A N/A  Subtract count, but keep only results with positive counts.

        >>> Counter('abbbc') - Counter('bccd')
        Counter({'b': 2, 'a': 1})

         N/A N/A N/A isinstance other Counter N/A N/A NotImplemented N/A result N/A Counter N/A N/A elem count N/A N/A self items N/A N/A newcount N/A count N/A other N/A elem N/A N/A newcount 0 N/A N/A N/A result N/A elem newcount N/A N/A elem count N/A N/A other items N/A N/A N/A N/A elem self N/A count 0 N/A N/A N/A result N/A elem N/A 0 count N/A result N/A __or__ N/A N/A self other N/A N/A N/A Union is the maximum of value in either of the input counters.

        >>> Counter('abbb') | Counter('bcc')
        Counter({'b': 3, 'c': 2, 'a': 1})

         N/A N/A N/A isinstance other Counter N/A N/A NotImplemented N/A result N/A Counter N/A N/A elem count N/A N/A self items N/A N/A other_count N/A other N/A elem N/A newcount N/A N/A count other_count other_count count N/A N/A newcount 0 N/A N/A N/A result N/A elem newcount N/A N/A elem count N/A N/A other items N/A N/A N/A N/A elem self N/A count 0 N/A N/A N/A result N/A elem count N/A result N/A __and__ N/A N/A self other N/A N/A N/A  Intersection is the minimum of corresponding counts.

        >>> Counter('abbb') & Counter('bcc')
        Counter({'b': 1})

         N/A N/A N/A isinstance other Counter N/A N/A NotImplemented N/A result N/A Counter N/A N/A elem count N/A N/A self items N/A N/A other_count N/A other N/A elem N/A newcount N/A N/A count other_count count other_count N/A N/A newcount 0 N/A N/A N/A result N/A elem newcount N/A result N/A N/A N/A N/A __name__ __main__ N/A cPickle loads dumps N/A Point N/A namedtuple Point x, y True N/A p N/A Point x 10 y 20 N/A N/A p N/A loads N/A dumps p Point N/A N/A namedtuple Point x y N/A N/A __slots__ N/A hypot N/A N/A self N/A N/A N/A N/A N/A N/A N/A self x 2 N/A N/A self y 2 0.5 N/A property __str__ N/A N/A self N/A N/A N/A N/A Point: x=%6.3f  y=%6.3f  hypot=%6.3f N/A N/A self x N/A self y N/A self hypot N/A N/A N/A p N/A N/A Point 3 4 N/A Point 14 N/A 5 7.0 N/A N/A p Point N/A N/A namedtuple Point x y N/A N/A Point class with optimized _make() and _replace() without error-checking N/A __slots__ N/A N/A _make N/A classmethod N/A tuple __new__ _replace N/A N/A self _map N/A map kwds N/A N/A N/A N/A self _make N/A _map N/A kwds get N/A x y self N/A N/A N/A N/A N/A N/A Point 11 22 _replace x 100 N/A Point3D N/A namedtuple Point3D N/A N/A Point _fields N/A z N/A N/A Point3D __doc__ N/A doctest N/A TestResults N/A namedtuple TestResults failed attempted N/A N/A TestResults N/A N/A doctest testmod