MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / truncate

Method truncate

tools/python-3.11.9-amd64/Lib/_pyio.py:1857–1859  ·  view source on GitHub ↗

Truncate size to pos, where pos is an int.

(self, pos=None)

Source from the content-addressed store, hash-verified

1855 self._unsupported("write")
1856
1857 def truncate(self, pos=None):
1858 """Truncate size to pos, where pos is an int."""
1859 self._unsupported("truncate")
1860
1861 def readline(self):
1862 """Read until newline or EOF.

Callers

nothing calls this directly

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected