[Python-checkins] Clarified the tempfile.tempdir documentation (GH-7829) (GH-7841)

Eric V. Smith webhook-mailer at python.org
Thu Jun 21 04:03:32 EDT 2018


https://github.com/python/cpython/commit/fee52e34ce62e60ecea81e0835d2393fa625da31
commit: fee52e34ce62e60ecea81e0835d2393fa625da31
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Eric V. Smith <ericvsmith at users.noreply.github.com>
date: 2018-06-21T04:03:29-04:00
summary:

Clarified the tempfile.tempdir documentation (GH-7829) (GH-7841)

(cherry picked from commit 940ae608566fd4446ff92a22705f646cde1d087c)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy at users.noreply.github.com>

files:
M Doc/library/tempfile.rst

diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index c59aca1e1890..0d0da4d62e47 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -253,7 +253,7 @@ to specify the directory and this is the recommended approach.
    default value for the *dir* argument to the functions defined in this
    module.
 
-   If ``tempdir`` is unset or ``None`` at any call to any of the above
+   If ``tempdir`` is ``None`` (the default) at any call to any of the above
    functions except :func:`gettempprefix` it is initialized following the
    algorithm described in :func:`gettempdir`.
 



More information about the Python-checkins mailing list