(self, st)
Initialise stream from pickling dict.
Initialise stream from pickling dict.
Initialise stream from pickling dict .
def __setstate__(self, st):
        """Initialise stream from pickling dict."""
        # open for reading to avoid writing intro
        self.__init__(st['filename'], 'r')
        self.wind(st['counter'])
        self.switch_mode(st['mode'])
def __setstate__ ( self , st ) : # open for reading to avoid writing intro self . __init__ ( st [ 'filename' ] , 'r' ) self . wind ( st [ 'counter' ] ) self . switch_mode ( st [ 'mode' ] )