Home | History | Annotate | Download | only in Lib

Lines Matching refs:protocol

92     def __init__(self, dict, protocol=None, writeback=False):

94 if protocol is None:
95 protocol = 0
96 self._protocol = protocol
185 def __init__(self, dict, protocol=None, writeback=False):
186 Shelf.__init__(self, dict, protocol, writeback)
221 def __init__(self, filename, flag='c', protocol=None, writeback=False):
223 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
226 def open(filename, flag='c', protocol=None, writeback=False):
233 anydbm.open(). The optional protocol parameter specifies the
234 version of the pickle protocol (0, 1, or 2).
239 return DbfilenameShelf(filename, flag, protocol, writeback)