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

Method first

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

Source from the content-addressed store, hash-verified

205 return (key.decode(self.keyencoding), Unpickler(f).load())
206
207 def first(self):
208 (key, value) = self.dict.first()
209 f = BytesIO(value)
210 return (key.decode(self.keyencoding), Unpickler(f).load())
211
212 def last(self):
213 (key, value) = self.dict.last()

Callers 15

setup_dynamic_stdlibFunction · 0.45
b2a_uuFunction · 0.45
openssl.rsFile · 0.45
get_argvFunction · 0.45
acquireMethod · 0.45
remove_done_callbackMethod · 0.45
schedule_callbacksMethod · 0.45
field_size_limitFunction · 0.45
from_argsMethod · 0.45
getpeercertMethod · 0.45
resolveMethod · 0.45
zfillFunction · 0.45

Calls 4

BytesIOClass · 0.90
UnpicklerClass · 0.90
decodeMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected