Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ truncate
Method
truncate
Lib/typing.py:3568–3569 ·
view source on GitHub ↗
(self, size: int | None = None)
Source
from the content-addressed store, hash-verified
3566
3567
@abstractmethod
3568
def
truncate(self, size: int | None = None) -> int:
3569
pass
3570
3571
@abstractmethod
3572
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