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

Method peek

Lib/gzip.py:372–375  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

370 return self._buffer.readinto1(b)
371
372 def peek(self, n):
373 self._check_not_closed()
374 self._check_read("peek")
375 return self._buffer.peek(n)
376
377 @property
378 def closed(self):

Callers

nothing calls this directly

Calls 2

_check_readMethod · 0.95
_check_not_closedMethod · 0.80

Tested by

no test coverage detected