Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4614cc4 commit 138a314Copy full SHA for 138a314
1 file changed
Doc/library/tempfile.rst
@@ -76,7 +76,8 @@ The module defines the following user-callable items:
76
data is spooled in memory until the file size exceeds *max_size*, or
77
until the file's :func:`fileno` method is called, at which point the
78
contents are written to disk and operation proceeds as with
79
- :func:`TemporaryFile`.
+ :func:`TemporaryFile`. Also, it's ``truncate`` method does not
80
+ accept a ``size`` argument.
81
82
The resulting file has one additional method, :func:`rollover`, which
83
causes the file to roll over to an on-disk file regardless of its size.
0 commit comments