Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ peek
Method
peek
Lib/_pyio.py:1446–1448 ·
view source on GitHub ↗
(self, size=0)
Source
from the content-addressed store, hash-verified
1444
return
BufferedReader.readinto(self, b)
1445
1446
def
peek(self, size=0):
1447
self.flush()
1448
return
BufferedReader.peek(self, size)
1449
1450
def
read1(self, size=-1):
1451
self.flush()
Callers
nothing calls this directly
Calls
2
flush
Method · 0.45
peek
Method · 0.45
Tested by
no test coverage detected