Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ peek
Method
peek
Lib/_pyio.py:1361–1362 ·
view source on GitHub ↗
(self, size=0)
Source
from the content-addressed store, hash-verified
1359
return
self.writer.write(b)
1360
1361
def
peek(self, size=0):
1362
return
self.reader.peek(size)
1363
1364
def
read1(self, size=-1):
1365
return
self.reader.read1(size)
Callers
nothing calls this directly
Calls
1
peek
Method · 0.45
Tested by
no test coverage detected