Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore TupleLoad NameLoad ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str TryExcept body Return Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Str NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Str NameLoad body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr NameLoad TryFinally body Expr Yield finalbody AugAssignSub AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Str Str body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body Expr Yield finalbody Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body While CompareLt AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return While AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr AttributeLoad NameLoad attr While BoolOpAnd AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Str body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareGtE NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Str body Expr Str AugAssignSub AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Dict handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Num orelse Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Str NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore CompareIn NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass orelse Return Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Return Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMult Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr While CompareGt NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad body If AttributeLoad NameLoad attr body Delete SubscriptDel NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Delete SubscriptDel NameLoad Slice decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list TryExcept body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad If CompareNotIn Call NameLoad NameLoad Str NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Return Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Continue If Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd Call NameLoad NameLoad Num AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIs Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad If UnaryOpNot BoolOpAnd AttributeLoad NameLoad attr CompareGtE Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot BoolOpAnd AttributeLoad NameLoad attr CompareGtE Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIn SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Str orelse Assign NameStore Str Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore TupleLoad Str Str Str Str Str Str Str Str body If BinOpBitAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad Return Assign NameStore Call NameLoad NameLoad Str NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Str If CompareIn NameLoad TupleLoad NameLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareNotIn NameLoad TupleLoad Str Str Str body Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad Str TupleLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad Str Str Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Str Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Str Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Str Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Str Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list Expr Call NameLoad Str Str NameLoad Expr Call NameLoad Str Str NameLoad Expr Call NameLoad Str Str NameLoad Expr Call NameLoad Str Str NameLoad If CompareEq NameLoad Str body ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Num Call NameLoad Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list decorator_list Expr Call NameLoad Call NameLoad keyword NameLoad
N/A N/A 
Python advanced pretty printer.  This pretty printer is intended to
replace the old `pprint` python module which does not allow developers
to provide their own pretty print callbacks.

This module is based on ruby's `prettyprint.rb` library by `Tanaka Akira`.

The following implementations were forked from the IPython project:
* Copyright (c) 2008-2014, IPython Development Team
* Copyright (C) 2001-2007 Fernando Perez <fperez@colorado.edu>
* Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
* Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>

Example Usage
-------------

To directly print the representation of an object use `pprint`::

    from pretty import pprint
    pprint(complex_object)

To get a string of the output use `pretty`::

    from pretty import pretty
    string = pretty(complex_object)


Extending
---------

The pretty library allows developers to add pretty printing rules for their
own objects.  This process is straightforward.  All you have to do is to
add a `_repr_pretty_` method to your object and call the methods on the
pretty printer passed::

    class MyObject(object):

        def _repr_pretty_(self, p, cycle):
            ...

Here is an example implementation of a `_repr_pretty_` method for a list
subclass::

    class MyList(list):

        def _repr_pretty_(self, p, cycle):
            if cycle:
                p.text('MyList(...)')
            else:
                with p.group(8, 'MyList([', '])'):
                    for idx, item in enumerate(self):
                        if idx:
                            p.text(',')
                            p.breakable()
                        p.pretty(item)

The `cycle` parameter is `True` if pretty detected a cycle.  You *have* to
react to that or the result is an infinite loop.  `p.text()` just adds
non breaking text to the output, `p.breakable()` either adds a whitespace
or breaks here.  If you pass it an argument it's used instead of the
default space.  `p.pretty` prettyprints another object using the pretty print
method.

The first parameter to the `group` function specifies the extra indentation
of the next line.  In this example the next item will either be on the same
line (if the items are short enough) or aligned with the right edge of the
opening bracket of `MyList`.

If you just want to indent something you can use the group function
without open / close parameters.  You can also use this code::

    with p.indent(2):
        ...

   
:copyright: 2007 by Armin Ronacher.
            Portions (c) 2009 by Robert Kern.
:license: BSD License.
 contextlib contextmanager N/A sys N/A types N/A re N/A datetime collections deque N/A string_types N/A str io StringIO N/A __all__ N/A pretty pprint PrettyPrinter RepresentationPrinter for_type for_type_by_name N/A MAX_SEQ_LENGTH 1000 N/A _re_pattern_type N/A type N/A N/A re compile _safe_getattr N/A N/A obj attr default N/A None N/A N/A Safe version of getattr.
    
    Same as getattr, but will return ``default`` on any Exception,
    rather than raising.
     N/A N/A N/A N/A getattr obj attr default N/A N/A N/A Exception N/A N/A default N/A N/A CUnicodeIO StringIO pretty N/A N/A obj verbose max_width newline max_seq_length N/A False 79 MAX_SEQ_LENGTH N/A N/A 
    Pretty print the object's representation.
     N/A stream N/A CUnicodeIO N/A printer N/A RepresentationPrinter stream verbose max_width newline max_seq_length max_seq_length N/A N/A N/A printer pretty obj N/A N/A N/A printer flush N/A N/A N/A stream getvalue N/A pprint N/A N/A obj verbose max_width newline max_seq_length N/A False 79 MAX_SEQ_LENGTH N/A N/A 
    Like `pretty` but print to stdout.
     N/A printer N/A RepresentationPrinter N/A sys stdout verbose max_width newline max_seq_length max_seq_length N/A N/A N/A printer pretty obj N/A N/A N/A printer flush N/A N/A N/A N/A sys stdout write newline N/A N/A N/A N/A sys stdout flush N/A _PrettyPrinterBase N/A object N/A indent N/A N/A self indent N/A N/A N/A with statement support for indenting/dedenting. N/A N/A self indentation indent N/A N/A N/A N/A N/A N/A N/A self indentation indent N/A contextmanager group N/A N/A self indent open close N/A 0 N/A N/A like begin_group / end_group but for the with statement. N/A N/A N/A self begin_group indent open N/A N/A N/A N/A N/A N/A N/A N/A self end_group indent close N/A contextmanager N/A PrettyPrinter N/A _PrettyPrinterBase N/A N/A 
    Baseclass for the `RepresentationPrinter` prettyprinter that is used to
    generate pretty reprs of objects.  Contrary to the `RepresentationPrinter`
    this printer knows nothing about the default pprinters or the `_repr_pretty_`
    callback method.
     __init__ N/A N/A self output max_width newline max_seq_length N/A 79 MAX_SEQ_LENGTH N/A N/A N/A self output output N/A N/A self max_width max_width N/A N/A self newline newline N/A N/A self max_seq_length max_seq_length N/A N/A self output_width 0 N/A N/A self buffer_width 0 N/A N/A self buffer N/A deque N/A root_group N/A Group 0 N/A N/A self group_stack N/A root_group N/A N/A self group_queue N/A GroupQueue root_group N/A N/A self indentation 0 N/A _break_outer_groups N/A N/A self N/A N/A N/A N/A N/A self max_width N/A N/A self output_width N/A self buffer_width N/A N/A group N/A N/A N/A self group_queue deq N/A N/A group N/A N/A N/A N/A group breakables N/A N/A x N/A N/A N/A self buffer popleft N/A N/A self output_width N/A N/A x output N/A self output N/A self output_width N/A N/A self buffer_width N/A x width N/A N/A N/A self buffer N/A isinstance N/A N/A self buffer N/A 0 Text N/A N/A x N/A N/A N/A self buffer popleft N/A N/A self output_width N/A N/A x output N/A self output N/A self output_width N/A N/A self buffer_width N/A x width N/A text N/A N/A self obj N/A N/A N/A Add literal text to the output. N/A width N/A len obj N/A N/A self buffer N/A N/A text N/A N/A self buffer N/A -1 N/A N/A N/A isinstance text Text N/A N/A text N/A Text N/A N/A N/A N/A self buffer append text N/A N/A N/A text add obj width N/A N/A self buffer_width width N/A N/A N/A self _break_outer_groups N/A N/A N/A N/A N/A self output write obj N/A N/A self output_width width N/A breakable N/A N/A self sep N/A N/A N/A 
        Add a breakable separator to the output.  This does not mean that it
        will automatically break here.  If no breaking on this position takes
        place the `sep` is inserted which default to one space.
         N/A width N/A len sep N/A group N/A N/A self group_stack N/A -1 N/A N/A group want_break N/A N/A N/A N/A self flush N/A N/A N/A N/A self output write N/A self newline N/A N/A N/A N/A self output write N/A N/A self indentation N/A N/A self output_width N/A self indentation N/A N/A self buffer_width 0 N/A N/A N/A N/A N/A self buffer append N/A Breakable sep width self N/A N/A self buffer_width width N/A N/A N/A self _break_outer_groups N/A break_ N/A N/A self N/A N/A N/A 
        Explicitly insert a newline into the output, maintaining correct indentation.
         N/A N/A N/A self flush N/A N/A N/A N/A self output write N/A self newline N/A N/A N/A N/A self output write N/A N/A self indentation N/A N/A self output_width N/A self indentation N/A N/A self buffer_width 0 N/A begin_group N/A N/A self indent open N/A 0 N/A N/A 
        Begin a group.  If you want support for python < 2.5 which doesn't has
        the with statement this is the preferred way:

            p.begin_group(1, '{')
            ...
            p.end_group(1, '}')

        The python 2.5 expression would be this:

            with p.group(1, '{', '}'):
                ...

        The first parameter specifies the indentation for the next line (usually
        the width of the opening text), the second the opening text.  All
        parameters are optional.
         N/A open N/A N/A N/A N/A self text open N/A group N/A Group N/A N/A N/A N/A self group_stack N/A -1 depth 1 N/A N/A N/A N/A self group_stack append group N/A N/A N/A N/A self group_queue enq group N/A N/A self indentation indent N/A _enumerate N/A N/A self seq N/A N/A N/A like enumerate, but with an upper limit on the number of items N/A N/A idx x N/A enumerate seq N/A N/A N/A N/A self max_seq_length N/A idx N/A self max_seq_length N/A N/A N/A N/A self text , N/A N/A N/A self breakable N/A N/A N/A self text ... N/A N/A N/A N/A idx x N/A end_group N/A N/A self dedent close N/A 0 N/A N/A End a group. See `begin_group` for more details. N/A N/A self indentation dedent N/A group N/A N/A N/A self group_stack pop N/A N/A N/A group breakables N/A N/A N/A N/A N/A self group_queue remove group N/A close N/A N/A N/A N/A self text close N/A flush N/A N/A self N/A N/A N/A Flush data that is left in the buffer. N/A data N/A self buffer N/A N/A N/A self output_width N/A N/A data output N/A self output N/A self output_width N/A N/A N/A N/A self buffer clear N/A N/A self buffer_width 0 N/A N/A _get_mro N/A N/A obj_class N/A N/A N/A  Get a reasonable method resolution order of a class and its superclasses
    for both old-style and new-style classes.
     N/A N/A N/A hasattr obj_class __mro__ N/A N/A N/A N/A obj_class N/A type N/A obj_class __name__ N/A obj_class object N/A N/A N/A N/A TypeError N/A N/A mro N/A obj_class N/A N/A mro N/A N/A obj_class __mro__ N/A 1 -1 N/A N/A mro N/A obj_class __mro__ N/A mro N/A RepresentationPrinter N/A PrettyPrinter N/A N/A 
    Special pretty printer that has a `pretty` method that calls the pretty
    printer for a python object.

    This class stores processing data on `self` so you must *never* use
    this class in a threaded environment.  Always lock it or reinstanciate
    it.

    Instances also have a verbose flag callbacks can access to control their
    output.  For example the default instance repr prints all attributes and
    methods that are not prefixed by an underscore if the printer is in
    verbose mode.
     __init__ N/A N/A self output verbose max_width newline singleton_pprinters type_pprinters deferred_pprinters max_seq_length N/A False 79 None None None MAX_SEQ_LENGTH N/A N/A N/A N/A PrettyPrinter __init__ self output max_width newline max_seq_length max_seq_length N/A N/A self verbose verbose N/A N/A self stack N/A N/A N/A singleton_pprinters None N/A N/A singleton_pprinters N/A N/A _singleton_pprinters copy N/A N/A self singleton_pprinters singleton_pprinters N/A N/A type_pprinters None N/A N/A type_pprinters N/A N/A _type_pprinters copy N/A N/A self type_pprinters type_pprinters N/A N/A deferred_pprinters None N/A N/A deferred_pprinters N/A N/A _deferred_type_pprinters copy N/A N/A self deferred_pprinters deferred_pprinters N/A pretty N/A N/A self obj N/A N/A N/A Pretty print the given object. N/A obj_id N/A id obj N/A cycle N/A obj_id N/A self stack N/A N/A N/A N/A self stack append obj_id N/A N/A N/A self begin_group N/A N/A N/A obj_class N/A N/A _safe_getattr obj __class__ None N/A type obj N/A N/A N/A printer N/A N/A self singleton_pprinters N/A obj_id N/A N/A N/A N/A TypeError KeyError N/A N/A N/A N/A N/A printer obj self cycle N/A cls N/A _get_mro obj_class N/A N/A N/A cls N/A self type_pprinters N/A N/A N/A N/A N/A self type_pprinters N/A cls obj self cycle N/A N/A printer N/A N/A self _in_deferred_types cls N/A N/A printer None N/A N/A N/A printer obj self cycle N/A N/A N/A _repr_pretty_ N/A cls __dict__ N/A N/A meth N/A cls _repr_pretty_ N/A N/A callable meth N/A N/A N/A meth obj self cycle N/A N/A _default_pprint obj self cycle N/A N/A N/A N/A self end_group N/A N/A N/A N/A self stack pop N/A _in_deferred_types N/A N/A self cls N/A N/A N/A 
        Check if the given class is specified in the deferred type registry.

        Returns the printer from the registry if it exists, and None if the
        class is not in the registry. Successful matches will be moved to the
        regular type registry for future use.
         N/A mod N/A _safe_getattr cls __module__ None N/A name N/A _safe_getattr cls __name__ None N/A key N/A mod name N/A printer None N/A N/A key N/A self deferred_pprinters N/A N/A printer N/A N/A N/A self deferred_pprinters pop key N/A N/A N/A self type_pprinters N/A cls printer N/A printer N/A N/A Printable N/A object N/A output N/A N/A self stream output_width N/A N/A N/A output_width N/A N/A Text N/A Printable N/A __init__ N/A N/A self N/A N/A N/A N/A self objs N/A N/A N/A self width 0 N/A output N/A N/A self stream output_width N/A N/A N/A obj N/A self objs N/A N/A N/A N/A stream write obj N/A N/A output_width N/A self width N/A add N/A N/A self obj width N/A N/A N/A N/A N/A N/A self objs append obj N/A N/A self width width N/A N/A Breakable N/A Printable N/A __init__ N/A N/A self seq width pretty N/A N/A N/A N/A self obj seq N/A N/A self width width N/A N/A self pretty pretty N/A N/A self indentation N/A pretty indentation N/A N/A self group N/A N/A pretty group_stack N/A -1 N/A N/A N/A N/A N/A self group breakables append self N/A output N/A N/A self stream output_width N/A N/A N/A N/A N/A N/A N/A self group breakables popleft N/A N/A N/A self group want_break N/A N/A N/A N/A stream write N/A N/A self pretty newline N/A N/A N/A stream write N/A N/A self indentation N/A N/A self indentation N/A N/A N/A N/A self group breakables N/A N/A N/A N/A N/A N/A self pretty group_queue remove N/A self group N/A N/A N/A stream write N/A self obj N/A N/A output_width N/A self width N/A N/A Group N/A Printable N/A __init__ N/A N/A self depth N/A N/A N/A N/A self depth depth N/A N/A self breakables N/A deque N/A N/A self want_break False N/A N/A GroupQueue N/A object N/A __init__ N/A N/A self N/A groups N/A N/A N/A self queue N/A N/A group groups N/A N/A N/A N/A self enq group N/A enq N/A N/A self group N/A N/A N/A depth N/A group depth N/A N/A depth N/A N/A len N/A self queue 1 N/A N/A N/A N/A N/A self queue append N/A N/A N/A N/A N/A N/A self queue N/A depth append group N/A deq N/A N/A self N/A N/A N/A stack N/A self queue N/A N/A N/A idx group N/A enumerate N/A reversed stack N/A N/A N/A group breakables N/A N/A N/A stack N/A idx N/A N/A group want_break True N/A group N/A group stack N/A N/A N/A group want_break True N/A N/A stack N/A N/A remove N/A N/A self group N/A N/A N/A N/A N/A N/A N/A N/A N/A self queue N/A N/A group depth remove group N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A _baseclass_reprs N/A N/A object __repr__ N/A N/A types InstanceType __repr__ N/A N/A N/A AttributeError N/A N/A _baseclass_reprs N/A N/A object __repr__ _default_pprint N/A N/A obj p cycle N/A N/A N/A 
    The default print function.  Used if an object does not provide one and
    it's none of the builtin objects.
     N/A klass N/A N/A _safe_getattr obj __class__ None N/A type obj N/A N/A N/A _safe_getattr klass __repr__ None _baseclass_reprs N/A N/A N/A _repr_pprint obj p cycle N/A N/A N/A N/A p begin_group 1 < N/A N/A N/A p pretty klass N/A N/A N/A p text N/A  at 0x%x N/A id obj N/A cycle N/A N/A N/A N/A p text  ... N/A N/A N/A p verbose N/A N/A first True N/A key N/A dir obj N/A N/A N/A N/A N/A key startswith _ N/A N/A N/A N/A value N/A getattr obj key N/A N/A N/A AttributeError N/A N/A N/A N/A isinstance value N/A types MethodType N/A N/A N/A N/A first N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p text key N/A N/A N/A p text = N/A step N/A N/A len key 1 N/A N/A p indentation step N/A N/A N/A p pretty value N/A N/A p indentation step N/A first False N/A N/A N/A p end_group 1 > N/A _seq_pprinter_factory N/A N/A start end basetype N/A N/A N/A 
    Factory that returns a pprint function useful for sequences.  Used by
    the default pprint for tuples, dicts, and lists.
     inner N/A N/A obj p cycle N/A N/A N/A typ N/A type obj N/A N/A N/A basetype None N/A typ basetype N/A N/A typ __repr__ N/A basetype __repr__ N/A N/A N/A N/A p text N/A N/A typ __repr__ obj N/A cycle N/A N/A N/A N/A p text N/A N/A start ... end N/A step N/A len start N/A N/A N/A p begin_group step start N/A N/A idx x N/A N/A p _enumerate obj N/A N/A idx N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty x N/A N/A N/A N/A len obj 1 N/A N/A type obj tuple N/A N/A N/A N/A p text , N/A N/A N/A p end_group step end N/A N/A inner N/A _set_pprinter_factory N/A N/A start end basetype N/A N/A N/A 
    Factory that returns a pprint function useful for sets and frozensets.
     inner N/A N/A obj p cycle N/A N/A N/A typ N/A type obj N/A N/A N/A basetype None N/A typ basetype N/A N/A typ __repr__ N/A basetype __repr__ N/A N/A N/A N/A p text N/A N/A typ __repr__ obj N/A cycle N/A N/A N/A N/A p text N/A N/A start ... end N/A N/A N/A len obj 0 N/A N/A N/A N/A p text N/A N/A basetype __name__ () N/A N/A step N/A len start N/A N/A N/A p begin_group step start N/A items obj N/A N/A N/A N/A p max_seq_length N/A N/A len obj N/A p max_seq_length N/A N/A N/A N/A items N/A sorted obj N/A N/A N/A Exception N/A N/A N/A N/A idx x N/A N/A p _enumerate items N/A N/A idx N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty x N/A N/A N/A p end_group step end N/A N/A inner N/A _dict_pprinter_factory N/A N/A start end basetype N/A None N/A N/A 
    Factory that returns a pprint function used by the default pprint of
    dicts and dict proxies.
     inner N/A N/A obj p cycle N/A N/A N/A typ N/A type obj N/A N/A N/A basetype None N/A typ basetype N/A N/A typ __repr__ N/A basetype __repr__ N/A N/A N/A N/A p text N/A N/A typ __repr__ obj N/A cycle N/A N/A N/A N/A p text {...} N/A N/A N/A p begin_group 1 start N/A keys N/A N/A obj keys N/A N/A N/A N/A p max_seq_length N/A N/A len obj N/A p max_seq_length N/A N/A N/A N/A keys N/A sorted keys N/A N/A N/A Exception N/A N/A N/A N/A idx key N/A N/A p _enumerate keys N/A N/A idx N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty key N/A N/A N/A p text :  N/A N/A N/A p pretty N/A obj N/A key N/A N/A N/A p end_group 1 end N/A N/A inner N/A _super_pprint N/A N/A obj p cycle N/A N/A N/A The pprint for the super type. N/A N/A N/A p begin_group 8 <super:  N/A N/A N/A p pretty N/A obj __thisclass__ N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty N/A obj __self__ N/A N/A N/A p end_group 8 > N/A _re_pattern_pprint N/A N/A obj p cycle N/A N/A N/A The pprint function for regular expression patterns. N/A N/A N/A p text re.compile( N/A pattern N/A repr N/A obj pattern N/A N/A N/A pattern N/A 1 uU N/A N/A pattern N/A pattern N/A 1 N/A prefix ur N/A N/A prefix r N/A pattern N/A prefix N/A N/A pattern replace \\ \ N/A N/A N/A p text pattern N/A N/A obj flags N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A done_one False N/A flag N/A TEMPLATE IGNORECASE LOCALE MULTILINE DOTALL UNICODE VERBOSE DEBUG N/A N/A N/A N/A obj flags N/A getattr re flag N/A N/A done_one N/A N/A N/A N/A p text | N/A N/A N/A p text N/A re. flag N/A done_one True N/A N/A N/A p text ) N/A _type_pprint N/A N/A obj p cycle N/A N/A N/A The pprint for classes and types. N/A N/A N/A N/A type obj __repr__ N/A type __repr__ N/A N/A N/A _repr_pprint obj p cycle N/A N/A mod N/A _safe_getattr obj __module__ None N/A N/A N/A name N/A obj __qualname__ N/A N/A N/A isinstance name string_types N/A N/A N/A Exception Try __name__ N/A N/A N/A Exception N/A N/A name N/A obj __name__ N/A N/A N/A isinstance name string_types N/A N/A name <unknown type> N/A N/A mod N/A None __builtin__ builtins exceptions N/A N/A N/A N/A p text name N/A N/A N/A N/A p text N/A N/A mod . name N/A _repr_pprint N/A N/A obj p cycle N/A N/A N/A A pprint that just redirects to the normal repr function. N/A output N/A repr obj N/A N/A idx output_line N/A enumerate N/A N/A output splitlines N/A N/A idx N/A N/A N/A N/A p break_ N/A N/A N/A p text output_line N/A _function_pprint N/A N/A obj p cycle N/A N/A N/A Base pprint for all functions and builtin functions. N/A name N/A _safe_getattr obj __qualname__ N/A obj __name__ N/A mod N/A obj __module__ N/A N/A mod N/A mod N/A __builtin__ builtins exceptions N/A N/A name N/A N/A mod . name N/A N/A N/A p text N/A <function %s> name N/A _exception_pprint N/A N/A obj p cycle N/A N/A N/A Base pprint for all exceptions. N/A name N/A getattr N/A obj __class__ __qualname__ N/A N/A obj __class__ __name__ N/A N/A N/A N/A obj __class__ __module__ N/A exceptions builtins N/A N/A name N/A %s.%s N/A N/A N/A obj __class__ __module__ name N/A step N/A N/A len name 1 N/A N/A N/A p begin_group step N/A name ( N/A N/A idx arg N/A enumerate N/A getattr obj args N/A N/A N/A idx N/A N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty arg N/A N/A N/A p end_group step ) N/A N/A N/A N/A _exception_base BaseException N/A N/A N/A NameError N/A N/A _exception_base Exception N/A _type_pprinters N/A int float str tuple list dict set frozenset super _re_pattern_type type N/A types FunctionType N/A types BuiltinFunctionType N/A types MethodType N/A datetime datetime N/A datetime timedelta _exception_base _repr_pprint _repr_pprint _repr_pprint N/A _seq_pprinter_factory ( ) tuple N/A _seq_pprinter_factory [ ] list N/A _dict_pprinter_factory { } dict N/A _set_pprinter_factory { } set N/A _set_pprinter_factory frozenset({ }) frozenset _super_pprint _re_pattern_pprint _type_pprint _function_pprint _function_pprint _repr_pprint _repr_pprint _repr_pprint _exception_pprint N/A N/A N/A N/A _type_pprinters N/A N/A types DictProxyType N/A _dict_pprinter_factory <dictproxy { }> N/A N/A _type_pprinters N/A N/A types ClassType _type_pprint N/A N/A _type_pprinters N/A N/A types SliceType _repr_pprint N/A N/A N/A AttributeError N/A N/A N/A _type_pprinters N/A slice _repr_pprint N/A N/A N/A N/A _type_pprinters N/A xrange _repr_pprint N/A N/A _type_pprinters N/A long _repr_pprint N/A N/A _type_pprinters N/A unicode _repr_pprint N/A N/A N/A NameError N/A N/A N/A _type_pprinters N/A range _repr_pprint N/A N/A _type_pprinters N/A bytes _repr_pprint N/A _deferred_type_pprinters N/A for_type N/A N/A typ func N/A N/A N/A 
    Add a pretty printer for a given type.
     N/A oldfunc N/A N/A _type_pprinters get typ None N/A N/A func None N/A N/A N/A _type_pprinters N/A typ func N/A oldfunc N/A for_type_by_name N/A N/A type_module type_name func N/A N/A N/A 
    Add a pretty printer for a type specified by the module and name of a type
    rather than the type object itself.
     N/A key N/A type_module type_name N/A oldfunc N/A N/A _deferred_type_pprinters get key None N/A N/A func None N/A N/A N/A _deferred_type_pprinters N/A key func N/A oldfunc N/A N/A _singleton_pprinters N/A N/A dict fromkeys N/A map id N/A None True False Ellipsis NotImplemented _repr_pprint _defaultdict_pprint N/A N/A obj p cycle N/A N/A N/A name N/A N/A obj __class__ __name__ N/A N/A N/A p group N/A N/A len name 1 N/A name ( ) N/A N/A cycle N/A N/A N/A N/A p text ... N/A N/A N/A N/A p pretty N/A obj default_factory N/A N/A N/A p text , N/A N/A N/A p breakable N/A N/A N/A p pretty N/A dict obj N/A _ordereddict_pprint N/A N/A obj p cycle N/A N/A N/A name N/A N/A obj __class__ __name__ N/A N/A N/A p group N/A N/A len name 1 N/A name ( ) N/A N/A cycle N/A N/A N/A N/A p text ... N/A N/A N/A len obj N/A N/A N/A N/A p pretty N/A list N/A N/A obj items N/A _deque_pprint N/A N/A obj p cycle N/A N/A N/A name N/A N/A obj __class__ __name__ N/A N/A N/A p group N/A N/A len name 1 N/A name ( ) N/A N/A cycle N/A N/A N/A N/A p text ... N/A N/A N/A N/A p pretty N/A list obj N/A _counter_pprint N/A N/A obj p cycle N/A N/A N/A name N/A N/A obj __class__ __name__ N/A N/A N/A p group N/A N/A len name 1 N/A name ( ) N/A N/A cycle N/A N/A N/A N/A p text ... N/A N/A N/A len obj N/A N/A N/A N/A p pretty N/A dict obj N/A N/A N/A for_type_by_name collections defaultdict _defaultdict_pprint N/A N/A for_type_by_name collections OrderedDict _ordereddict_pprint N/A N/A for_type_by_name collections deque _deque_pprint N/A N/A for_type_by_name collections Counter _counter_pprint N/A N/A __name__ __main__ N/A random randrange Foo N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self foo 1 N/A N/A self bar N/A N/A re compile \s+ N/A N/A self blub N/A N/A dict fromkeys N/A range 30 N/A randrange 1 40 N/A N/A self hehe 23424.234234 N/A N/A self list N/A blub blah self N/A get_foo N/A N/A self N/A N/A N/A foo N/A N/A N/A N/A pprint N/A Foo verbose True