MCPcopy Index your code
hub / github.com/RustPython/RustPython / next

Method next

Lib/shelve.py:197–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

195 return (key.decode(self.keyencoding), Unpickler(f).load())
196
197 def next(self):
198 (key, value) = next(self.dict)
199 f = BytesIO(value)
200 return (key.decode(self.keyencoding), Unpickler(f).load())
201
202 def previous(self):
203 (key, value) = self.dict.previous()

Callers

nothing calls this directly

Calls 5

BytesIOClass · 0.90
UnpicklerClass · 0.90
nextFunction · 0.85
decodeMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected