diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
commit | 502d9a5c2cf7c0837911890e7dcccd7aada10adf (patch) | |
tree | 5e712865fce6c8490a87873b2b4694bc965d2233 /Doc/library/tempfile.rst | |
parent | 22b3431426349a424e3486c279db8b84cf671da0 (diff) | |
download | cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.zip cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.gz cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.bz2 |
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
Diffstat (limited to 'Doc/library/tempfile.rst')
-rw-r--r-- | Doc/library/tempfile.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 36c8753..722c5ee 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -48,7 +48,7 @@ The module defines the following user-callable functions: The *dir*, *prefix* and *suffix* parameters are passed to :func:`mkstemp`. The returned object is a true file object on POSIX platforms. On other - platforms, it is a file-like object whose :attr:`file` attribute is the + platforms, it is a file-like object whose :attr:`!file` attribute is the underlying true file object. This file-like object can be used in a :keyword:`with` statement, just like a normal file. @@ -63,7 +63,7 @@ The module defines the following user-callable functions: still open, varies across platforms (it can be so used on Unix; it cannot on Windows NT or later). If *delete* is true (the default), the file is deleted as soon as it is closed. - The returned object is always a file-like object whose :attr:`file` + The returned object is always a file-like object whose :attr:`!file` attribute is the underlying true file object. This file-like object can be used in a :keyword:`with` statement, just like a normal file. |