Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list
N/A N/A 
Common abstract base classes (or mixins..if we get krazy) that will be shared
across modules.
 N/A N/A N/A cPickle N/A N/A N/A ImportError N/A N/A pickle cPickle common smart_open SaveLoad N/A object N/A N/A 
    Objects which inherit from this class have save/load methods, which
    [un]pickle them to disk.

    Uses cPickle, so objects cannot have an attribute set to either a lambda
    function, or any function that is not defined until some class is
    initialized (classmethod).
     save N/A N/A self savefile protocol N/A -1 N/A N/A 
        Pickle self to outfile.

        Parameters
        ----------
        savefile : filepath or buffer
        protocol : 0, 1, 2, -1
            0 < 1 < 2 in terms of performance.  -1 means use highest available.
         N/A N/A smart_open savefile w f N/A N/A N/A N/A cPickle dump self f protocol protocol N/A load N/A N/A cls loadfile N/A N/A N/A 
        Unpickle class from disk.

        Parameters
        ----------
        loadfile : filepath or buffer
         N/A N/A smart_open loadfile rb f N/A N/A N/A N/A cPickle load f N/A classmethod N/A