code: def dump(self, obj):
          '''Pickle an object.'''
          pickle.dump(obj, self._file, protocol=self._protocolf dump(self, obj):
          '''Pickle an object.'''
          pickle.dump(obj, self._file, protocol=self._protocol)
docs: Pickle an object.