diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-22 10:10:00 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-22 10:10:00 (GMT) |
commit | be9ddc1d113026f9f5bd9a3f1eda1d56d47b60e8 (patch) | |
tree | 5dd4a16b60880f718a2c52456abacab3c38c225d /Doc | |
parent | 3e85838ee9e54c04d8f0fc337672dc9a10aa5e41 (diff) | |
download | cpython-be9ddc1d113026f9f5bd9a3f1eda1d56d47b60e8.zip cpython-be9ddc1d113026f9f5bd9a3f1eda1d56d47b60e8.tar.gz cpython-be9ddc1d113026f9f5bd9a3f1eda1d56d47b60e8.tar.bz2 |
Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/tempfile.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 67eda21..fa0a27f 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -64,7 +64,8 @@ The module defines the following user-callable functions: This function operates exactly as :func:`TemporaryFile` does, except that the file is guaranteed to have a visible name in the file system (on Unix, the directory entry is not unlinked). That name can be retrieved - from the :attr:`name` attribute of the file object. Whether the name can be + from the :attr:`name` attribute of the returned + file-like object. Whether the name can be used to open the file a second time, while the named temporary file is 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 |