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
189 def __init__(self, dict, protocol=None, writeback=False):
190 Shelf.__init__(self, dict, protocol, writeback)
225 def __init__(self, filename, flag='c', protocol=None, writeback=False):
227 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
230 def open(filename, flag='c', protocol=None, writeback=False):
237 anydbm.open(). The optional protocol parameter specifies the
238 version of the pickle protocol (0, 1, or 2).
243 return DbfilenameShelf(filename, flag, protocol, writeback)