(self)
return pickle_dict
Get pickling dict for stream.
Get pickling dict for stream.
Get pickling dict for stream .
def __getstate__(self):
        """Get pickling dict for stream."""
        # copy as we still need _serial for close()
        # which gets called after __getstate__() on shutdown
        pickle_dict = {k:v for k,v in iteritems(self.__dict__)}
        del pickle_dict['_serial']
        return pickle_dict
def __getstate__ ( self ) : # copy as we still need _serial for close() # which gets called after __getstate__() on shutdown pickle_dict = { k : v for k , v in iteritems ( self . __dict__ ) } del pickle_dict [ '_serial' ] return pickle_dict