Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ truncate
Method
truncate
Lib/typing.py:3619–3620 ·
view source on GitHub ↗
(self, size: int | None = None)
Source
from the content-addressed store, hash-verified
3617
3618
@abstractmethod
3619
def
truncate(self, size: int | None = None) -> int:
3620
pass
3621
3622
@abstractmethod
3623
def
writable(self) -> bool:
Callers
2
makefile
Method · 0.45
_append_message
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected