MCPcopy Index your code
hub / github.com/python/cpython / truncate

Method truncate

Lib/_pyio.py:1917–1919  ·  view source on GitHub ↗

Truncate size to pos, where pos is an int.

(self, pos=None)

Source from the content-addressed store, hash-verified

1915 self._unsupported("write")
1916
1917 def truncate(self, pos=None):
1918 """Truncate size to pos, where pos is an int."""
1919 self._unsupported("truncate")
1920
1921 def readline(self):
1922 """Read until newline or EOF.

Callers

nothing calls this directly

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected