Module Expr Str Import alias Import alias Import alias Import alias Assign NameStore CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num TupleLoad Num Num If NameLoad body Import alias ImportFrom alias alias Assign NameStore NameLoad Import alias identifier Assign NameStore NameLoad Import alias Import alias ImportFrom alias alias alias Import alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call NameLoad NameLoad keyword NameLoad keyword Str decorator_list Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore NameLoad orelse Import alias identifier ImportFrom alias identifier ImportFrom alias Assign NameStore NameLoad Import alias Assign NameStore NameLoad Import alias Import alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If Call NameLoad NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call NameLoad NameLoad keyword NameLoad decorator_list Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return ListComp Call NameLoad NameLoad comprehension NameStore NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return ListComp Call NameLoad NameLoad comprehension NameStore NameLoad orelse Return Call NameLoad NameLoad decorator_list TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp CompareIn Str AttributeLoad NameLoad attr comprehension NameStore AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad Str NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad Str NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt NameLoad NameLoad body Return Assign NameStore Call NameLoad NameLoad Expr Yield Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad While NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body If CompareNotEq SubscriptLoad NameLoad Index NameLoad BinOpSub BinOpAdd NameLoad NameLoad NameLoad body Break orelse Return AugAssignAdd SubscriptStore NameLoad Index NameLoad Num For NameStore Call NameLoad BinOpAdd NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index BinOpSub NameLoad Num Num Expr Yield Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list
N/A N/A 
Compatibility tools for differences between Python 2 and 3
 N/A functools N/A itertools N/A sys N/A urllib N/A PY3 N/A N/A N/A sys version_info N/A 0 3 N/A PY3_2 N/A N/A N/A sys version_info N/A 2 N/A 3 2 N/A PY3 N/A N/A builtins io StringIO BytesIO N/A cStringIO StringIO N/A pickle cPickle N/A pickle cPickle N/A urllib.request N/A urllib.parse urllib.request HTTPError urlretrieve URLError N/A io N/A bytes bytes N/A str str N/A asunicode N/A N/A N/A x _ N/A N/A str x asbytes N/A N/A s N/A N/A N/A N/A isinstance s bytes N/A N/A s N/A N/A N/A s encode latin1 N/A asstr N/A N/A s N/A N/A N/A N/A isinstance s str N/A N/A s N/A N/A N/A s decode latin1 N/A asstr2 N/A N/A s N/A N/A N/A N/A isinstance s str N/A N/A s N/A N/A N/A isinstance s bytes N/A N/A N/A N/A s decode latin1 N/A N/A N/A str s N/A isfileobj N/A N/A f N/A N/A N/A N/A isinstance f N/A io FileIO N/A open_latin1 N/A N/A filename mode N/A r N/A N/A N/A open filename mode mode encoding iso-8859-1 N/A N/A strchar U N/A range range N/A map map N/A zip zip N/A filter filter N/A reduce N/A functools reduce N/A long int N/A unichr chr N/A zip_longest N/A itertools zip_longest lrange N/A N/A N/A args kwargs N/A N/A N/A list N/A range args kwargs N/A lzip N/A N/A N/A args kwargs N/A N/A N/A list N/A zip args kwargs N/A lmap N/A N/A N/A args kwargs N/A N/A N/A list N/A map args kwargs N/A lfilter N/A N/A N/A args kwargs N/A N/A N/A list N/A filter args kwargs N/A N/A urlopen N/A N/A urllib request urlopen N/A urljoin N/A N/A urllib parse urljoin N/A urlretrieve N/A N/A urllib request urlretrieve N/A urlencode N/A N/A urllib parse urlencode N/A string_types str N/A input input N/A N/A __builtin__ builtins cStringIO StringIO cStringIO StringIO StringIO N/A BytesIO StringIO N/A cPickle N/A pickle cPickle N/A urllib2 N/A urlparse N/A bytes str N/A str str N/A asbytes str N/A asstr str N/A asstr2 str N/A strchar S isfileobj N/A N/A f N/A N/A N/A N/A isinstance f file N/A asunicode N/A N/A s encoding N/A ascii N/A N/A N/A isinstance s unicode N/A N/A s N/A N/A N/A s decode encoding N/A open_latin1 N/A N/A filename mode N/A r N/A N/A N/A open filename mode mode N/A N/A range xrange N/A zip N/A itertools izip N/A filter N/A itertools ifilter N/A map N/A itertools imap N/A reduce reduce N/A long long N/A unichr unichr N/A zip_longest N/A itertools izip_longest N/A lrange N/A builtins range N/A lzip N/A builtins zip N/A lmap N/A builtins map N/A lfilter N/A builtins filter N/A urlopen N/A urllib2 urlopen N/A urljoin N/A urlparse urljoin N/A urlencode N/A urllib urlencode N/A HTTPError N/A urllib2 HTTPError N/A URLError N/A urllib2 URLError N/A string_types basestring N/A input raw_input getexception N/A N/A N/A N/A N/A N/A N/A N/A sys exc_info N/A 1 N/A asbytes_nested N/A N/A x N/A N/A N/A N/A N/A hasattr x __iter__ N/A N/A isinstance x N/A bytes str N/A N/A N/A N/A asbytes_nested y N/A y x N/A N/A N/A asbytes x N/A asunicode_nested N/A N/A x N/A N/A N/A N/A N/A hasattr x __iter__ N/A N/A isinstance x N/A bytes str N/A N/A N/A N/A asunicode_nested y N/A y x N/A N/A N/A asunicode x N/A N/A N/A N/A advance_iterator next N/A N/A N/A NameError N/A advance_iterator N/A N/A it N/A N/A N/A N/A N/A it next N/A N/A next advance_iterator N/A N/A N/A callable callable N/A N/A N/A NameError N/A callable N/A N/A obj N/A N/A N/A N/A any N/A N/A __call__ N/A klass __dict__ N/A klass N/A N/A type obj __mro__ N/A iteritems N/A N/A obj N/A kwargs N/A N/A replacement for six's iteritems for Python2/3 compat
       uses 'iteritems' if available and otherwise uses 'items'.

       Passes kwargs to method.
     N/A func N/A getattr obj iteritems None N/A N/A func N/A N/A func N/A obj items N/A N/A func kwargs N/A iterkeys N/A N/A obj N/A kwargs N/A N/A func N/A getattr obj iterkeys None N/A N/A func N/A N/A func N/A obj keys N/A N/A func kwargs N/A itervalues N/A N/A obj N/A kwargs N/A N/A func N/A getattr obj itervalues None N/A N/A func N/A N/A func N/A obj values N/A N/A func kwargs N/A get_function_name N/A N/A func N/A N/A N/A N/A N/A N/A N/A func im_func func_name N/A N/A N/A AttributeError N/A N/A N/A func __name__ N/A get_class N/A N/A func N/A N/A N/A N/A N/A N/A func im_class N/A N/A N/A AttributeError N/A N/A N/A N/A func __self__ __class__ N/A N/A N/A N/A combinations N/A itertools combinations N/A N/A N/A combinations N/A N/A iterable r N/A N/A N/A pool N/A tuple iterable N/A n N/A len pool N/A N/A r n N/A N/A N/A indices N/A lrange r N/A N/A N/A tuple N/A N/A pool N/A i N/A i indices N/A True N/A N/A i N/A reversed N/A lrange r N/A N/A N/A N/A indices N/A i N/A N/A i n r N/A N/A N/A N/A N/A N/A indices N/A i 1 N/A j N/A range N/A i 1 r N/A N/A N/A indices N/A j N/A N/A indices N/A N/A j 1 1 N/A N/A N/A tuple N/A N/A pool N/A i N/A i indices N/A