File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ The module defines the following user-callable items:
8686 whether :func: `rollover ` has been called. This file-like object can be
8787 used in a :keyword: `with ` statement, just like a normal file.
8888
89+ .. versionchanged :: 3.3
90+ the truncate method now accepts a ``size `` argument.
91+
8992
9093.. function :: TemporaryDirectory(suffix='', prefix='tmp', dir=None)
9194
Original file line number Diff line number Diff line change @@ -1964,6 +1964,14 @@ sequence` holding informations about the thread implementation
19641964(:issue: `11223 `).
19651965
19661966
1967+ tempfile
1968+ --------
1969+
1970+ :class: `tempfile.SpooledTemporaryFile `\' s
1971+ :meth: `~tempfile.SpooledTemporaryFile.trucate ` method now accepts
1972+ a ``size `` parameter. (Contributed by Ryan Kelly in :issue: `9957 `.)
1973+
1974+
19671975textwrap
19681976--------
19691977
You can’t perform that action at this time.
0 commit comments