MCPcopy Index your code
hub / github.com/RustPython/RustPython / truncate

Method truncate

Lib/_pyio.py:1893–1895  ·  view source on GitHub ↗

Truncate size to pos, where pos is an int.

(self, pos=None)

Source from the content-addressed store, hash-verified

1891 self._unsupported("write")
1892
1893 def truncate(self, pos=None):
1894 """Truncate size to pos, where pos is an int."""
1895 self._unsupported("truncate")
1896
1897 def readline(self):
1898 """Read until newline or EOF.

Callers

nothing calls this directly

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected