Module Expr Str Import alias If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore NameStore NameLoad Assign NameStore Str ImportFrom alias identifier orelse Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad decorator_list Assign NameStore AttributeLoad Call NameLoad Str attr If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Import alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict Dict ListLoad Num body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Python 2/3 compatibility definitions.

This module currently provides the following helper symbols:

* bytes (name of byte string type; str in 2.x, bytes in 3.x)
* b (function converting a string literal to an ASCII byte string;
  can be also used to convert a Unicode string into a byte string)
* u_prefix (unicode repr prefix: 'u' in 2.x, '' in 3.x)
  (Required in docutils/test/test_publisher.py)
* BytesIO (a StringIO class that works with bytestrings)
 N/A sys N/A N/A N/A sys version_info N/A 3 0 N/A N/A b bytes str N/A u_prefix u io StringIO BytesIO N/A N/A builtins N/A bytes N/A builtins bytes N/A u_prefix b N/A N/A s N/A N/A N/A N/A isinstance s str N/A N/A N/A N/A s encode latin1 N/A N/A N/A isinstance s bytes N/A N/A s N/A N/A N/A TypeError N/A Invalid argument %r for b() N/A s N/A N/A BytesIO N/A N/A __import__ io BytesIO N/A N/A N/A sys version_info N/A 2 5 N/A N/A builtins __import__ N/A N/A name globals locals fromlist level N/A N/A N/A N/A -1 N/A N/A Compatibility definition for Python 2.4.

        Silently ignore the `level` argument missing in Python < 2.5.
         N/A N/A N/A builtins __import__ name globals locals fromlist N/A