Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad body Pass decorator_list Import alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Lambda arguments args NameParam NameParam defaults BinOpSub CompareGt NameLoad NameLoad CompareLt NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call AttributeLoad Str attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Continue If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Return Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Num attr For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Break Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword NameLoad decorator_list Return NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad If AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Str NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Return NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If BoolOpOr UnaryOpNot NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str If NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpAdd BinOpMod NameLoad Dict Str Str Str NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args defaults vararg kwarg body If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Return Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMod Str Dict Str Str NameLoad Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body AugAssignAdd NameStore Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Return Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Num CompareEq Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TryFinally body Expr Call NameLoad NameLoad NameLoad finalbody If NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Break Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body ImportFrom alias If Call NameLoad NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call NameLoad GeneratorExp CompareIn NameLoad AttributeLoad NameLoad attr comprehension NameStore Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call NameLoad GeneratorExp CompareIn NameLoad AttributeLoad NameLoad attr comprehension NameStore Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Return Call NameLoad AttributeLoad NameLoad attr orelse Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign NameStore NameLoad orelse Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Return Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Str orelse Return NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str AugAssignAdd NameStore Str If BoolOpAnd Call NameLoad NameLoad CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad FunctionDef arguments args defaults body ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore BinOpLShift Num NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Global identifier If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore BinOpFloorDiv Call NameLoad SubscriptLoad NameLoad Index Num NameLoad If UnaryOpNot NameLoad body Return NameLoad FunctionDef arguments args NameParam defaults body Global identifier If CompareNotEq NameLoad NameLoad body Assign NameStore BinOpRShift NameLoad NameLoad Assign NameStore BinOpBitAnd NameLoad BinOpSub BinOpLShift Num NameLoad Num If BoolOpAnd CompareLtELt Num NameLoad NameLoad CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore Call NameLoad BinOpAdd AttributeLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad Call NameLoad NameLoad attr Return Call NameLoad BinOpBitAnd Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad Delete NameDel orelse Import alias FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpBitAnd Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Return CompareIn Str NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Num CompareNotEq Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp IfExp NameLoad BinOpAdd BinOpMult Str BinOpMult NameLoad NameLoad NameLoad Str comprehension NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If Call NameLoad GeneratorExp CompareLt Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list Return Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Global identifier If CompareIs NameLoad NameLoad body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareLt Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Call NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad BinOpDiv BinOpPow Num Num AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For NameStore Call NameLoad Num NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword BinOpSub NameLoad NameLoad keyword NameLoad Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore BinOpMult AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Assign NameStore BinOpSub BinOpPow Num Num Num Assign NameStore BinOpSub BinOpPow Num Num Num FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareGtE AttributeLoad NameLoad attr BinOpAdd NameLoad Num CompareEq BinOpMod AttributeLoad NameLoad attr Num Num body Assign NameStore BinOpFloorDiv NameLoad AttributeLoad NameLoad attr orelse If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore BinOpFloorDiv NameLoad AttributeLoad NameLoad attr orelse Return Call NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr While CompareLt NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq NameLoad Str BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq NameLoad Str body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr UnaryOpNot BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert CompareEq AttributeLoad NameLoad attr Str Return BinOpLShift Num BinOpSub BinOpMult AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareGtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod BinOpSub NameLoad BinOpMod NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad BinOpAdd BinOpFloorDiv Call NameLoad NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword TupleLoad NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr CompareEq NameLoad Call AttributeLoad Str attr Str Index Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareGtE NameLoad BinOpAdd NameLoad NameLoad Index Num Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index BinOpSub NameLoad Num Num If CompareEq NameLoad Num body Assign NameStore Num handlers ExceptHandler body Assign NameStore Call NameLoad NameLoad If CompareLtE NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Break Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore NameLoad While BoolOpAnd Call NameLoad NameLoad Str CompareIsNot AttributeLoad NameLoad attr NameLoad body If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list
N/A __future__ division N/A errno N/A functools N/A gzip N/A itertools N/A io N/A mmap N/A os N/A platform N/A signal N/A sys N/A tempfile N/A textwrap N/A threading N/A warnings N/A weakref distutils.version LooseVersion N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A StringIO N/A object N/A N/A N/A N/A numpy np extern six extern.six iteritems string_types integer_types text_type binary_type next extern.six.moves zip reduce N/A BLOCK_SIZE 2880 N/A N/A six PY3 N/A N/A cmp N/A N/A N/A a b N/A N/A N/A a b N/A a b N/A N/A N/A six PY2 N/A N/A cmp cmp NotifierMixin N/A object N/A N/A 
    Mixin class that provides services by which objects can register
    listeners to changes on that object.

    All methods provided by this class are underscored, since this is intended
    for internal use to communicate between classes in a generic way, and is
    not machinery that should be exposed to users of the classes involved.

    Use the ``_add_listener`` method to register a listener on an instance of
    the notifier.  This registers the listener with a weak reference, so if
    no other references to the listener exist it is automatically dropped from
    the list and does not need to be manually removed.

    Call the ``_notify`` method on the notifier to update all listeners
    upon changes.  ``_notify('change_type', *args, **kwargs)`` results
    in calling ``listener._update_change_type(*args, **kwargs)`` on all
    listeners subscribed to that notifier.

    If a particular listener does not have the appropriate update method
    it is ignored.

    Examples
    --------

    >>> class Widget(NotifierMixin):
    ...     state = 1
    ...     def __init__(self, name):
    ...         self.name = name
    ...     def update_state(self):
    ...         self.state += 1
    ...         self._notify('widget_state_changed', self)
    ...
    >>> class WidgetListener(object):
    ...     def _update_widget_state_changed(self, widget):
    ...         print('Widget {0} changed state to {1}'.format(
    ...             widget.name, widget.state))
    ...
    >>> widget = Widget('fred')
    >>> listener = WidgetListener()
    >>> widget._add_listener(listener)
    >>> widget.update_state()
    Widget fred changed state to 2
     N/A _listeners None _add_listener N/A N/A self listener N/A N/A N/A 
        Add an object to the list of listeners to notify of changes to this
        object.  This adds a weakref to the list of listeners that is
        removed from the listeners list when the listener has no other
        references to it.
         N/A N/A N/A self _listeners None N/A N/A N/A self _listeners N/A N/A weakref WeakValueDictionary N/A N/A N/A self _listeners N/A N/A id listener listener N/A _remove_listener N/A N/A self listener N/A N/A N/A 
        Removes the specified listener from the listeners list.  This relies
        on object identity (i.e. the ``is`` operator).
         N/A N/A N/A self _listeners None N/A N/A N/A N/A N/A N/A N/A self _listeners N/A N/A id listener N/A N/A N/A KeyError N/A N/A N/A _notify N/A N/A self notification N/A args kwargs N/A N/A 
        Notify all listeners of some particular state change by calling their
        ``_update_<notification>`` method with the given ``*args`` and
        ``**kwargs``.

        The notification does not by default include the object that actually
        changed (``self``), but it certainly may if required.
         N/A N/A N/A self _listeners None N/A N/A N/A method_name N/A N/A _update_{0} format notification N/A listener N/A N/A N/A self _listeners valuerefs N/A N/A listener N/A listener N/A N/A listener None N/A N/A N/A N/A hasattr listener method_name N/A N/A method N/A getattr listener method_name N/A N/A callable method N/A N/A N/A method args kwargs N/A __getstate__ N/A N/A self N/A N/A N/A 
        Exclude listeners when saving the listener's state, since they may be
        ephemeral.
         N/A N/A N/A state N/A N/A N/A super NotifierMixin self __getstate__ N/A N/A N/A AttributeError N/A N/A state N/A N/A N/A self __dict__ copy N/A N/A state N/A _listeners None N/A state N/A N/A first N/A N/A iterable N/A N/A N/A 
    Returns the first item returned by iterating over an iterable object.

    Example:

    >>> a = [1, 2, 3]
    >>> first(a)
    1
     N/A N/A next N/A iter iterable N/A itersubclasses N/A N/A cls _seen N/A None N/A N/A 
    itersubclasses(cls)

    Generator over all subclasses of a given class, in depth first order.

    >>> list(itersubclasses(int)) == [bool]
    True
    >>> class A(object): pass
    >>> class B(A): pass
    >>> class C(A): pass
    >>> class D(B,C): pass
    >>> class E(D): pass
    >>>
    >>> for cls in itersubclasses(A):
    ...     print(cls.__name__)
    B
    D
    E
    C
    >>> # get ALL (new-style) classes currently defined
    >>> [cls.__name__ for cls in itersubclasses(object)] #doctest: +ELLIPSIS
    [...'tuple', ...'type', ...]

    From http://code.activestate.com/recipes/576949/
     N/A N/A N/A isinstance cls type N/A N/A N/A TypeError N/A itersubclasses must be called with new-style classes, not %.100r cls N/A N/A _seen None N/A N/A _seen N/A set N/A N/A N/A subs N/A N/A cls __subclasses__ N/A N/A N/A TypeError N/A N/A subs N/A N/A cls __subclasses__ cls N/A sub N/A sorted subs key N/A N/A N/A s N/A N/A s __name__ N/A N/A N/A sub _seen N/A N/A N/A N/A _seen add sub N/A N/A sub N/A sub N/A itersubclasses sub _seen N/A N/A N/A sub N/A lazyproperty N/A object N/A N/A 
    Works similarly to property(), but computes the value only once.

    Adapted from the recipe at
    http://code.activestate.com/recipes/363602-lazy-property-evaluation
     __init__ N/A N/A self fget fset fdel doc N/A None None None N/A N/A N/A self _fget fget N/A N/A self _fset fset N/A N/A self _fdel fdel N/A N/A doc None N/A N/A N/A self __doc__ N/A fget __doc__ N/A N/A N/A self __doc__ doc N/A N/A self _key N/A N/A self _fget __name__ N/A __get__ N/A N/A self obj owner N/A None N/A N/A N/A obj None N/A N/A self N/A N/A N/A N/A N/A obj __dict__ N/A N/A self _key N/A N/A N/A KeyError N/A N/A val N/A N/A self _fget obj N/A N/A N/A obj __dict__ N/A N/A self _key val N/A val N/A __set__ N/A N/A self obj val N/A N/A N/A obj_dict N/A obj __dict__ N/A N/A self _fset N/A N/A ret N/A N/A self _fset obj val N/A N/A N/A ret None N/A N/A N/A obj_dict get N/A self _key ret N/A N/A N/A N/A obj_dict N/A N/A self _key val N/A __delete__ N/A N/A self obj N/A N/A N/A N/A self _fdel N/A N/A N/A N/A self _fdel obj N/A N/A N/A self _key N/A obj __dict__ N/A N/A N/A N/A obj __dict__ N/A N/A self _key N/A getter N/A N/A self fget N/A N/A N/A N/A N/A self __ter fget 0 N/A setter N/A N/A self fset N/A N/A N/A N/A N/A self __ter fset 1 N/A deleter N/A N/A self fdel N/A N/A N/A N/A N/A self __ter fdel 2 N/A __ter N/A N/A self f arg N/A N/A N/A args N/A N/A self _fget N/A self _fset N/A self _fdel N/A self __doc__ N/A N/A args N/A arg f N/A cls_ns N/A N/A N/A sys _getframe 1 f_locals N/A N/A k v N/A iteritems cls_ns N/A N/A N/A v self N/A N/A property_name k N/A N/A N/A cls_ns N/A property_name N/A lazyproperty args N/A N/A cls_ns N/A property_name N/A N/A classproperty N/A property N/A N/A 
    Similar to `property`, but allows class-level properties.  That is,
    a property whose getter is like a `classmethod`.

    The wrapped method may explicitly use the `classmethod` decorator (which
    must become before this decorator), or the `classmethod` may be omitted
    (it is implicit through use of this decorator).

    .. note::

        classproperty only works for *read-only* properties.  It does not
        currently allow writeable/deleteable properties, due to subtleties of how
        Python descriptors work.  In order to implement such properties on a class
        a metaclass for that class must be implemented.

    Parameters
    ----------
    fget : callable
        The function that computes the value of this property (in particular,
        the function when this is used as a decorator) a la `property`.

    doc : str, optional
        The docstring for the property--by default inherited from the getter
        function.

    lazy : bool, optional
        If True, caches the value returned by the first call to the getter
        function, so that it is only called once (used for lazy evaluation
        of an attribute).  This is analogous to `lazyproperty`.  The ``lazy``
        argument can also be used when `classproperty` is used as a decorator
        (see the third example below).  When used in the decorator syntax this
        *must* be passed in as a keyword argument.

    Examples
    --------

    ::

        >>> class Foo(object):
        ...     _bar_internal = 1
        ...     @classproperty
        ...     def bar(cls):
        ...         return cls._bar_internal + 1
        ...
        >>> Foo.bar
        2
        >>> foo_instance = Foo()
        >>> foo_instance.bar
        2
        >>> foo_instance._bar_internal = 2
        >>> foo_instance.bar  # Ignores instance attributes
        2

    As previously noted, a `classproperty` is limited to implementing
    read-only attributes::

        >>> class Foo(object):
        ...     _bar_internal = 1
        ...     @classproperty
        ...     def bar(cls):
        ...         return cls._bar_internal
        ...     @bar.setter
        ...     def bar(cls, value):
        ...         cls._bar_internal = value
        ...
        Traceback (most recent call last):
        ...
        NotImplementedError: classproperty can only be read-only; use a
        metaclass to implement modifiable class-level properties

    When the ``lazy`` option is used, the getter is only called once::

        >>> class Foo(object):
        ...     @classproperty(lazy=True)
        ...     def bar(cls):
        ...         print("Performing complicated calculation")
        ...         return 1
        ...
        >>> Foo.bar
        Performing complicated calculation
        1
        >>> Foo.bar
        1

    If a subclass inherits a lazy `classproperty` the property is still
    re-evaluated for the subclass::

        >>> class FooSub(Foo):
        ...     pass
        ...
        >>> FooSub.bar
        Performing complicated calculation
        1
        >>> FooSub.bar
        1
     __new__ N/A N/A cls fget doc lazy N/A None None False N/A N/A N/A fget None N/A wrapper N/A N/A func N/A N/A N/A N/A cls func lazy lazy N/A N/A wrapper N/A N/A N/A N/A super classproperty cls __new__ cls N/A __init__ N/A N/A self fget doc lazy N/A None False N/A N/A N/A self _lazy lazy N/A lazy N/A N/A N/A self _cache N/A N/A fget N/A N/A self _wrap_fget fget N/A N/A N/A N/A super classproperty self __init__ fget fget doc doc N/A N/A doc None N/A N/A N/A self __doc__ doc N/A __get__ N/A N/A self obj objtype N/A None N/A N/A N/A N/A self _lazy N/A objtype N/A self _cache N/A N/A N/A N/A self _cache N/A objtype N/A N/A objtype None N/A N/A val N/A N/A N/A self fget __wrapped__ objtype N/A N/A val N/A N/A N/A super classproperty self __get__ obj objtype objtype N/A N/A self _lazy N/A N/A N/A objtype None N/A N/A objtype N/A obj __class__ N/A N/A N/A self _cache N/A objtype val N/A val N/A getter N/A N/A self fget N/A N/A N/A N/A N/A N/A super classproperty self getter N/A N/A self _wrap_fget fget N/A setter N/A N/A self fset N/A N/A N/A N/A NotImplementedError classproperty can only be read-only; use a metaclass to implement modifiable class-level properties N/A deleter N/A N/A self fdel N/A N/A N/A N/A NotImplementedError classproperty can only be read-only; use a metaclass to implement modifiable class-level properties N/A _wrap_fget N/A N/A orig_fget N/A N/A N/A N/A isinstance orig_fget classmethod N/A N/A orig_fget N/A orig_fget __func__ fget N/A N/A obj N/A N/A N/A N/A orig_fget N/A obj __class__ N/A N/A N/A functools wraps orig_fget N/A N/A fget __wrapped__ orig_fget N/A fget N/A staticmethod N/A PyfitsDeprecationWarning N/A UserWarning N/A N/A N/A PyfitsPendingDeprecationWarning N/A UserWarning N/A N/A N/A deprecated N/A N/A since message name alternative pending N/A False N/A N/A 
    Used to mark a function as deprecated.

    To mark an attribute as deprecated, replace that attribute with a
    depcrecated property.

    Parameters
    ------------
    since : str
        The release at which this API became deprecated.  This is required.

    message : str, optional
        Override the default deprecation message.  The format specifier
        %(func)s may be used for the name of the function, and %(alternative)s
        may be used in the deprecation message to insert the name of an
        alternative to the deprecated function.

    name : str, optional
        The name of the deprecated function; if not provided the name is
        automatically determined from the passed in function, though this is
        useful in the case of renamed functions, where the new function is just
        assigned to the name of the deprecated function.  For example:
            def new_function():
                ...
            oldFunction = new_function

    alternative : str, optional
        An alternative function that the user may use in place of the
        deprecated function.  The deprecation warning will tell the user about
        this alternative if provided.

    pending : bool, optional
        If True, uses a PyfitsPendingDeprecationWarning instead of a
        PyfitsDeprecationWarning.

     deprecate N/A N/A func message name alternative pending N/A message name alternative pending N/A N/A N/A isinstance func classmethod N/A N/A N/A N/A func N/A func __func__ N/A N/A N/A AttributeError N/A N/A method N/A N/A func __get__ None object N/A N/A hasattr method __func__ N/A N/A func N/A method __func__ N/A N/A N/A hasattr method im_func N/A N/A func N/A method im_func N/A N/A func N/A is_classmethod True N/A N/A is_classmethod False N/A N/A name N/A N/A name N/A func __name__ N/A altmessage N/A N/A N/A message N/A N/A type message N/A type deprecate N/A N/A pending N/A N/A message The %(func)s function will be deprecated in a future version. N/A N/A message The %(func)s function is deprecated as of version %(since)s and may be removed in a future version. N/A alternative N/A N/A altmessage N/A 

        Use %s instead. alternative N/A message N/A N/A message N/A func alternative since name alternative since altmessage deprecated_func N/A N/A N/A args kwargs N/A N/A pending N/A N/A category PyfitsPendingDeprecationWarning N/A N/A category PyfitsDeprecationWarning N/A N/A N/A warnings warn message category stacklevel 2 N/A N/A func args kwargs N/A N/A N/A functools wraps func N/A old_doc N/A deprecated_func __doc__ N/A N/A old_doc N/A N/A old_doc N/A old_doc N/A N/A N/A N/A textwrap dedent old_doc strip N/A altmessage N/A N/A altmessage strip N/A N/A altmessage N/A N/A altmessage N/A N/A message strip N/A new_doc N/A N/A 
.. deprecated:: %(since)s
    %(message)s

 N/A since message since N/A N/A altmessage strip old_doc N/A N/A old_doc N/A N/A new_doc \  N/A N/A deprecated_func __doc__ new_doc N/A is_classmethod N/A N/A deprecated_func N/A classmethod deprecated_func N/A deprecated_func N/A N/A N/A N/A type message N/A type deprecate N/A N/A N/A deprecate message N/A deprecate N/A ignore_sigint N/A N/A func N/A N/A N/A 
    This decorator registers a custom SIGINT handler to catch and ignore SIGINT
    until the wrapped function is completed.
     wrapped N/A N/A N/A args kwargs N/A N/A curr_thread N/A N/A threading currentThread N/A single_thread N/A N/A N/A N/A threading activeCount 1 N/A N/A N/A curr_thread getName MainThread SigintHandler N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self sigint_received False N/A __call__ N/A N/A self signum frame N/A N/A N/A N/A N/A warnings warn N/A KeyboardInterrupt ignored until %s is complete! N/A func __name__ N/A N/A self sigint_received True N/A N/A N/A sigint_handler N/A SigintHandler N/A single_thread N/A N/A old_handler N/A N/A signal signal N/A signal SIGINT sigint_handler N/A N/A N/A N/A func args kwargs N/A N/A single_thread N/A N/A N/A old_handler None N/A N/A N/A N/A signal signal N/A signal SIGINT old_handler N/A N/A N/A N/A signal signal N/A signal SIGINT N/A signal SIG_DFL N/A N/A sigint_handler sigint_received N/A N/A KeyboardInterrupt N/A N/A N/A functools wraps func N/A wrapped N/A pairwise N/A N/A iterable N/A N/A N/A Return the items of an iterable paired with its next item.

    Ex: s -> (s0,s1), (s1,s2), (s2,s3), ....
     N/A N/A a b N/A N/A itertools tee iterable N/A _ b N/A N/A N/A N/A zip a b N/A isiterable N/A N/A obj N/A N/A N/A Returns true of the given object is iterable. N/A N/A collections Iterable N/A N/A isinstance obj Iterable N/A N/A True N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A iter obj N/A True N/A N/A N/A TypeError N/A N/A False N/A encode_ascii N/A N/A s N/A N/A N/A 
    In Python 2 this is a no-op.  Strings are left alone.  In Python 3 this
    will be replaced with a function that actually encodes unicode strings to
    ASCII bytes.
     N/A s N/A decode_ascii N/A N/A s N/A N/A N/A 
    In Python 2 this is a no-op.  Strings are left alone.  In Python 3 this
    will be replaced with a function that actually decodes ascii bytes to
    unicode.
     N/A s N/A isreadable N/A N/A f N/A N/A N/A 
    Returns True if the file-like object can be read from.  This is a common-
    sense approximation of io.IOBase.readable.
     N/A N/A N/A hasattr f closed N/A f closed N/A N/A N/A ValueError I/O operation on closed file N/A N/A N/A hasattr f read N/A N/A False N/A N/A N/A hasattr f mode N/A N/A any N/A N/A c N/A f mode N/A c r+ N/A N/A False N/A True N/A iswritable N/A N/A f N/A N/A N/A 
    Returns True if the file-like object can be written to.  This is a common-
    sense approximation of io.IOBase.writable.
     N/A N/A N/A hasattr f closed N/A f closed N/A N/A N/A ValueError I/O operation on closed file N/A N/A N/A hasattr f write N/A N/A False N/A N/A N/A hasattr f mode N/A N/A any N/A N/A c N/A f mode N/A c wa+ N/A N/A False N/A True N/A isfile N/A N/A f N/A N/A N/A 
    Returns True if the given object represents an OS-level file (that is,
    isinstance(f, file)).

    On Python 3 this also returns True if the given object is higher level
    wrapper on top of a FileIO object, such as a TextIOWrapper.
     N/A N/A isinstance f file N/A fileobj_open N/A N/A filename mode N/A N/A N/A 
    A wrapper around the `open()` builtin.

    This exists because in Python 3, `open()` returns an `io.BufferedReader` by
    default.  This is bad, because `io.BufferedReader` doesn't support random
    access, which we need in some cases.  In the Python 3 case (implemented in
    the py3compat module) we must call open with buffering=0 to get a raw
    random-access file reader.
     N/A N/A open filename mode N/A fileobj_name N/A N/A f N/A N/A N/A 
    Returns the 'name' of file-like object f, if it has anything that could be
    called its name.  Otherwise f's class or type is returned.  If f is a
    string f itself is returned.
     N/A N/A isinstance f string_types N/A N/A f N/A N/A N/A isinstance f N/A gzip GzipFile N/A N/A N/A fileobj_name N/A f fileobj N/A N/A N/A hasattr f name N/A N/A N/A f name N/A N/A N/A hasattr f filename N/A N/A N/A f filename N/A N/A N/A hasattr f __class__ N/A N/A N/A str N/A f __class__ N/A N/A N/A str N/A type f N/A fileobj_closed N/A N/A f N/A N/A N/A 
    Returns True if the given file-like object is closed or if f is not a
    file-like object.
     N/A N/A hasattr f closed N/A N/A N/A f closed N/A N/A N/A N/A hasattr f fileobj N/A hasattr N/A f fileobj closed N/A N/A N/A N/A f fileobj closed N/A N/A N/A N/A hasattr f fp N/A hasattr N/A f fp closed N/A N/A N/A N/A f fp closed N/A N/A False N/A fileobj_mode N/A N/A f N/A N/A N/A 
    Returns the 'mode' string of a file-like object if such a thing exists.
    Otherwise returns None.
     N/A N/A N/A hasattr f fileobj N/A hasattr N/A f fileobj mode N/A N/A fileobj N/A f fileobj N/A N/A N/A N/A hasattr f fp N/A hasattr N/A f fp mode N/A N/A fileobj N/A f fp N/A N/A N/A hasattr f mode N/A N/A fileobj f N/A N/A None N/A N/A _fileobj_normalize_mode fileobj N/A _fileobj_normalize_mode N/A N/A f N/A N/A N/A Takes care of some corner cases in Python where the mode string
    is either oddly formatted or does not truly represent the file mode.
     N/A mode N/A f mode N/A N/A isinstance f N/A gzip GzipFile N/A N/A N/A mode N/A gzip READ N/A N/A rb N/A N/A N/A mode N/A gzip WRITE N/A N/A wb N/A N/A None N/A N/A + mode N/A N/A mode N/A N/A mode replace + N/A mode + N/A N/A N/A _fileobj_is_append_mode f N/A a mode N/A N/A mode N/A N/A N/A N/A mode replace r a replace w a N/A mode N/A _fileobj_is_append_mode N/A N/A f N/A N/A N/A Normally the way to tell if a file is in append mode is if it has
    'a' in the mode string.  However on Python 3 (or in particular with
    the io module) this can't be relied on.  See
    http://bugs.python.org/issue18876.
     N/A N/A a N/A f mode N/A N/A True N/A N/A N/A hasattr f fileno N/A N/A False N/A N/A N/A N/A _is_append_mode_platform N/A N/A f fileno N/A N/A N/A N/A ValueError IOError N/A N/A False N/A N/A N/A N/A N/A sys platform startswith win32 N/A N/A _sizeof_ioinfo None _make_is_append_mode N/A N/A N/A N/A ctypes cdll c_size_t c_void_p c_int c_char Structure POINTER cast ctypes.util find_msvcrt _dummy_is_append_mode N/A N/A fd N/A N/A N/A N/A N/A warnings warn Could not find appropriate MS Visual C Runtime library or library is corrupt/misconfigured; cannot determine whether your file object was opened in append mode.  Please consider using a file object opened in write mode instead. N/A False N/A N/A msvcrt_dll N/A find_msvcrt N/A N/A msvcrt_dll None N/A N/A _dummy_is_append_mode N/A msvcrt N/A N/A cdll LoadLibrary msvcrt_dll N/A IOINFO_L2E 5 N/A IOINFO_ARRAY_ELTS N/A 1 IOINFO_L2E N/A IOINFO_ARRAYS 64 N/A FAPPEND 32 N/A _NO_CONSOLE_FILENO -2 N/A intptr_t N/A POINTER c_int my_ioinfo N/A Structure N/A N/A _fields_ N/A N/A osfhnd intptr_t N/A osfile c_char N/A N/A _msize N/A msvcrt _msize N/A N/A _msize argtypes N/A c_void_p N/A N/A _msize restype c_size_t N/A __pioinfo N/A cast N/A msvcrt __pioinfo N/A POINTER N/A POINTER c_char N/A _sizeof_ioinfo N/A N/A N/A __pioinfo N/A 0 None N/A N/A _sizeof_ioinfo N/A N/A _msize N/A __pioinfo N/A 0 IOINFO_ARRAY_ELTS N/A N/A _sizeof_ioinfo N/A N/A _dummy_is_append_mode _is_append_mode N/A N/A fd N/A N/A N/A _sizeof_ioinfo N/A N/A fd _NO_CONSOLE_FILENO N/A N/A idx1 N/A fd IOINFO_L2E N/A idx2 N/A fd N/A N/A 1 IOINFO_L2E 1 N/A N/A N/A 0 idx1 IOINFO_ARRAYS N/A N/A __pioinfo N/A idx1 None N/A N/A pio N/A c_void_p N/A N/A N/A cast N/A __pioinfo N/A idx1 c_void_p value N/A idx2 _sizeof_ioinfo N/A ioinfo N/A N/A cast pio N/A POINTER my_ioinfo contents N/A N/A bool N/A N/A ord N/A ioinfo osfile FAPPEND N/A False N/A N/A _is_append_mode N/A N/A _is_append_mode_platform N/A _make_is_append_mode N/A _make_is_append_mode N/A N/A fcntl _is_append_mode_platform N/A N/A fd N/A N/A N/A N/A bool N/A N/A N/A fcntl fcntl fd N/A fcntl F_GETFL N/A os O_APPEND N/A fileobj_is_binary N/A N/A f N/A N/A N/A 
    Returns True if the give file or file-like object has a file open in binary
    mode.  When in doubt, returns True by default.
     N/A N/A hasattr f binary N/A N/A N/A f binary N/A N/A N/A io None N/A isinstance f N/A io TextIOBase N/A N/A False N/A mode N/A fileobj_mode f N/A mode N/A N/A N/A b mode N/A N/A True N/A translate N/A N/A s table deletechars N/A N/A N/A 
    This is a version of string/unicode.translate() that can handle string or
    unicode strings the same way using a translation table made with
    string.maketrans.
     N/A N/A isinstance s str N/A N/A N/A N/A s translate table deletechars N/A N/A N/A isinstance s text_type N/A N/A table N/A dict N/A N/A x N/A ord N/A table N/A x N/A x N/A range 256 N/A N/A ord N/A table N/A x x N/A c deletechars N/A N/A N/A table N/A N/A ord c None N/A N/A N/A s translate table N/A indent N/A N/A s shift width N/A 1 4 N/A N/A indented N/A N/A join N/A N/A l N/A N/A N/A width shift l N/A l N/A N/A s splitlines N/A N/A N/A s N/A -1 N/A N/A indented N/A indented N/A fill N/A N/A text width N/A args kwargs N/A N/A 
    Like :func:`textwrap.wrap` but preserves existing paragraphs which
    :func:`textwrap.wrap` does not otherwise handle well.  Also handles section
    headers.
     N/A paragraphs N/A N/A text split maybe_fill N/A N/A t N/A N/A N/A N/A all N/A N/A N/A len l width N/A l N/A N/A t splitlines N/A N/A t N/A N/A N/A N/A textwrap fill t width args kwargs N/A N/A N/A N/A join N/A N/A maybe_fill p N/A p paragraphs N/A N/A CHUNKED_FROMFILE None _array_from_file N/A N/A infile dtype count sep N/A N/A N/A Create a numpy array from a file or a file-like object. N/A N/A isfile infile N/A N/A CHUNKED_FROMFILE N/A N/A CHUNKED_FROMFILE None N/A N/A N/A N/A N/A sys platform darwin N/A N/A LooseVersion N/A N/A N/A platform mac_ver N/A 0 N/A LooseVersion 10.9 N/A N/A CHUNKED_FROMFILE True N/A N/A CHUNKED_FROMFILE False N/A CHUNKED_FROMFILE N/A N/A chunk_size N/A int N/A N/A 1024 3 N/A dtype itemsize N/A N/A count chunk_size N/A N/A N/A N/A np fromfile infile dtype dtype count count sep sep N/A N/A array N/A N/A np empty count dtype dtype N/A beg N/A range 0 count chunk_size N/A N/A end N/A min count N/A beg chunk_size N/A N/A array N/A beg end N/A N/A np fromfile infile dtype dtype count N/A end beg sep sep N/A array N/A N/A N/A N/A np fromfile infile dtype dtype count count sep sep N/A N/A read_size N/A N/A N/A N/A np dtype dtype itemsize count N/A s N/A N/A infile read read_size N/A N/A N/A np fromstring s dtype dtype count count sep sep N/A N/A _OSX_WRITE_LIMIT N/A N/A 2 32 1 N/A _WIN_WRITE_LIMIT N/A N/A 2 31 1 _array_to_file N/A N/A arr outfile N/A N/A N/A 
    Write a numpy array to a file or a file-like object.

    Parameters
    ----------
    arr : `~numpy.ndarray`
        The Numpy array to write.
    outfile : file-like
        A file-like object such as a Python file object, an `io.BytesIO`, or
        anything else with a ``write`` method.  The file object must support
        the buffer interface in its ``write``.

    If writing directly to an on-disk file this delegates directly to
    `ndarray.tofile`.  Otherwise a slower Python implementation is used.
     N/A N/A isfile outfile N/A N/A write N/A N/A N/A a f N/A N/A N/A a tofile f N/A N/A write _array_to_file_like N/A N/A N/A N/A sys platform darwin N/A N/A arr nbytes N/A _OSX_WRITE_LIMIT 1 N/A N/A N/A arr nbytes 4096 0 N/A N/A chunksize N/A _OSX_WRITE_LIMIT N/A arr itemsize N/A N/A N/A N/A N/A sys platform startswith win N/A N/A chunksize N/A _WIN_WRITE_LIMIT N/A arr itemsize N/A N/A N/A write arr outfile N/A idx 0 N/A arr N/A N/A N/A N/A arr view N/A np ndarray flatten N/A N/A idx N/A arr nbytes N/A N/A N/A write N/A arr N/A idx N/A idx chunksize outfile N/A idx chunksize N/A _array_to_file_like N/A N/A arr fileobj N/A N/A N/A 
    Write a `~numpy.ndarray` to a file-like object (which is not supported by
    `numpy.ndarray.tofile`).
     N/A N/A N/A arr flags contiguous N/A N/A N/A N/A fileobj write N/A arr data N/A N/A N/A hasattr np nditer N/A N/A item N/A N/A np nditer arr N/A N/A N/A N/A fileobj write N/A N/A item tostring N/A N/A byteorder N/A N/A arr dtype byteorder N/A N/A N/A N/A N/A sys byteorder little N/A byteorder > N/A N/A N/A sys byteorder big N/A byteorder < N/A N/A item N/A arr flat N/A N/A N/A N/A fileobj write N/A N/A N/A N/A item byteswap tostring N/A N/A item N/A arr flat N/A N/A N/A N/A fileobj write N/A N/A item tostring N/A _write_string N/A N/A f s N/A N/A N/A 
    Write a string to a file, encoding to ASCII if the file is open in binary
    mode, or decoding if the file is open in text mode.
     N/A binmode N/A fileobj_is_binary f N/A N/A binmode N/A isinstance s text_type N/A N/A s N/A encode_ascii s N/A N/A N/A N/A binmode N/A N/A isinstance f text_type N/A N/A s N/A decode_ascii s N/A N/A N/A N/A isinstance f StringIO N/A isinstance s N/A np ndarray N/A N/A s N/A s data N/A N/A N/A f write s N/A _convert_array N/A N/A array dtype N/A N/A N/A 
    Converts an array to a new dtype--if the itemsize of the new dtype is
    the same as the old dtype and both types are not numeric, a view is
    returned.  Otherwise a new array must be created.
     N/A N/A N/A array dtype dtype N/A N/A array N/A N/A N/A N/A N/A N/A array dtype itemsize N/A dtype itemsize N/A N/A N/A N/A np issubdtype N/A array dtype N/A np number N/A N/A np issubdtype dtype N/A np number N/A N/A N/A N/A array view dtype N/A N/A N/A N/A array astype dtype N/A _unsigned_zero N/A N/A dtype N/A N/A N/A 
    Given a numpy dtype, finds its "zero" point, which is exactly in the
    middle of its range.
     N/A N/A N/A dtype kind u N/A N/A 1 N/A N/A N/A dtype itemsize 8 1 N/A _is_pseudo_unsigned N/A N/A dtype N/A N/A N/A N/A N/A N/A dtype kind u N/A N/A dtype itemsize 2 N/A _is_int N/A N/A val N/A N/A N/A N/A isinstance val N/A integer_types N/A N/A np integer N/A _str_to_num N/A N/A val N/A N/A N/A Converts a given string to either an int or a float if necessary. N/A N/A N/A num N/A int val N/A N/A N/A ValueError N/A N/A num N/A float val N/A num N/A _pad_length N/A N/A stringlen N/A N/A N/A Bytes needed to pad the input stringlen to the next FITS block. N/A N/A N/A BLOCK_SIZE N/A stringlen BLOCK_SIZE BLOCK_SIZE N/A _words_group N/A N/A input strlen N/A N/A N/A 
    Split a long string into parts where each part is no longer
    than `strlen` and no word is cut into two pieces.  But if
    there is one single word which is longer than `strlen`, then
    it will be split in the middle of the word.
     N/A words N/A N/A nblanks N/A N/A input count N/A nmax N/A max nblanks N/A N/A N/A len input strlen 1 N/A arr N/A N/A np fromstring N/A input dtype N/A binary_type 1 N/A blank_loc N/A N/A N/A np nonzero N/A arr N/A N/A encode latin1 N/A 0 N/A offset 0 N/A xoffset 0 N/A idx N/A range nmax N/A N/A N/A N/A loc N/A N/A N/A N/A np nonzero N/A blank_loc N/A strlen offset N/A 0 N/A 0 N/A offset N/A N/A blank_loc N/A N/A loc 1 1 N/A N/A loc 0 N/A N/A offset -1 N/A N/A N/A N/A offset N/A len input N/A N/A offset xoffset N/A N/A offset N/A xoffset strlen N/A N/A N/A words append N/A input N/A xoffset offset N/A N/A N/A len input offset N/A N/A N/A xoffset offset N/A words N/A _tmp_name N/A N/A input N/A N/A N/A 
    Create a temporary file name which should not already exist.  Use the
    directory of the input file as the base name of the mkstemp() output.
     N/A N/A input None N/A N/A input N/A N/A N/A os path dirname input N/A N/A f fn N/A N/A tempfile mkstemp dir input N/A N/A N/A os close f N/A fn N/A _get_array_mmap N/A N/A array N/A N/A N/A 
    If the array has an mmap.mmap at base of its base chain, return the mmap
    object; otherwise return None.
     N/A N/A isinstance array N/A mmap mmap N/A N/A array N/A base array N/A N/A N/A hasattr base base N/A N/A base base None N/A N/A N/A isinstance N/A base base N/A mmap mmap N/A N/A N/A base base N/A base N/A base base N/A