(self)
return {
            'filename': self.filename,
            'mode': self.operating_mode,
            'counter': self.counter()
        }
Get pickling dict for stream.
Get pickling dict for stream.
Get pickling dict for stream .
def __getstate__(self):
        """Get pickling dict for stream."""
        return {
            'filename': self.filename,
            'mode': self.operating_mode,
            'counter': self.counter()
        }
def __getstate__ ( self ) : return { 'filename' : self . filename , 'mode' : self . operating_mode , 'counter' : self . counter ( ) }