Module Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Pass decorator_list NameLoad decorator_list
N/A N/A 
Stuff for format implementations to subclass / use.
 PythReader N/A object N/A N/A 
    Base class for all Pyth readers.

    Readers must implement these methods.
     read N/A N/A self source N/A N/A N/A 
        source: An object to read the document from.
        Usually (but not necessarily) a file object.

        Returns: A pyth.document.Document object.
         N/A N/A classmethod N/A PythWriter N/A object N/A N/A 
    Base class for all Pyth writers.

    Writers must implement these methods.
     write N/A N/A self document target N/A None N/A N/A 
        document: An instance of pyth.document.Document
        
        target: An object to write the document to.
        Usually (but not necessarily) a file object.
        If target is None, return something sensible
        (like a StringIO object)

        Returns: The target object
         N/A N/A classmethod N/A