MCPcopy Index your code
hub / github.com/python/cpython / peek

Method peek

Lib/test/pickletester.py:93–94  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

91
92class UnseekableIO(io.BytesIO):
93 def peek(self, *args):
94 raise NotImplementedError
95
96 def seekable(self):
97 return False

Callers 14

testPeekMethod · 0.45
testPeekBytesIOMethod · 0.45
test_finalizeMethod · 0.45
test_arg_errorsMethod · 0.45
test_peekMethod · 0.45
test_peekMethod · 0.45
test_peekMethod · 0.45
test_peekMethod · 0.45
test_peek_0Method · 0.45
test_readinto1Method · 0.45
test_peekMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected