(self)
Read a pickled object representation from the open file.

        Return the reconstituted object hierarchy specified in the file.
Read a pickled object representation from the open file.
Read a pickled object representation from the open file .
def load(self):
        """Read a pickled object representation from the open file.

        Return the reconstituted object hierarchy specified in the file.
        """
        # Check whether Unpickler was initialized correctly. This is
        # only needed to mimic the behavior of _pickle.Unpickler.dump().
        if not hasattr(self, "_file_read"):
            raise UnpicklingError("Unpickler.__init__() was not called by "
                                  "%s.__init__()" % (self.__class__.__name__,))
        self._unframer = _Unframer(self._file_read, self._file_readline)
        self.read = self._unframer.read
        self.readinto = self._unframer.readinto
        self.readline = self._unframer.readline
        self.metastack = []
        self.stack = []
        self.append = self.stack.append
        self.proto = 0
        read = self.read
        dispatch = self.dispatch
        try:
            while True:
                key = read(1)
                if not key:
                    raise EOFError
                assert isinstance(key, bytes_types)
                dispatch[key[0]](self)
        except _Stop as stopinst:
            return stopinst.value
def load ( self ) : # Check whether Unpickler was initialized correctly. This is # only needed to mimic the behavior of _pickle.Unpickler.dump(). if not hasattr ( self , "_file_read" ) : raise UnpicklingError ( "Unpickler.__init__() was not called by " "%s.__init__()" % ( self . __class__ . __name__ , ) ) self . _unframer = _Unframer ( self . _file_read , self . _file_readline ) self . read = self . _unframer . read self . readinto = self . _unframer . readinto self . readline = self . _unframer . readline self . metastack = [ ] self . stack = [ ] self . append = self . stack . append self . proto = 0 read = self . read dispatch = self . dispatch try : while True : key = read ( 1 ) if not key : raise EOFError assert isinstance ( key , bytes_types ) dispatch [ key [ 0 ] ] ( self ) except _Stop as stopinst : return stopinst . value