Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ca76ea16
Commit
ca76ea16
authored
Oct 06, 2012
by
R David Murray
Browse files
Options
Browse Files
Download
Plain Diff
#9957: document that SpooledTemporaryFile.truncate now accepts a size arg
parents
92a29b5d
138a314d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
Doc/library/tempfile.rst
Doc/library/tempfile.rst
+3
-0
Doc/whatsnew/3.3.rst
Doc/whatsnew/3.3.rst
+8
-0
No files found.
Doc/library/tempfile.rst
View file @
ca76ea16
...
...
@@ -86,6 +86,9 @@ The module defines the following user-callable items:
whether :func:`rollover` has been called. This file-like object can be
used in a :keyword:`with` statement, just like a normal file.
.. versionchanged:: 3.3
the truncate method now accepts a ``size`` argument.
.. function:: TemporaryDirectory(suffix='', prefix='tmp', dir=None)
...
...
Doc/whatsnew/3.3.rst
View file @
ca76ea16
...
...
@@ -1964,6 +1964,14 @@ sequence` holding informations about the thread implementation
(:
issue
:`
11223
`).
tempfile
--------
:
class
:`
tempfile
.
SpooledTemporaryFile
`\
's
:meth:`~tempfile.SpooledTemporaryFile.trucate` method now accepts
a ``size`` parameter. (Contributed by Ryan Kelly in :issue:`9957`.)
textwrap
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment