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

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


https://github.com/python/cpython/commit/940ae608566fd4446ff92a22705f646cde1d087c
commit: 940ae608566fd4446ff92a22705f646cde1d087c
branch: master
author: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy at users.noreply.github.com>
committer: Eric V. Smith <ericvsmith at users.noreply.github.com>
date: 2018-06-21T03:52:43-04:00
summary:

Clarified the tempfile.tempdir documentation (GH-7829)

files:
M Doc/library/tempfile.rst

diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index 79914e15f444..20046ee0fb4e 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -262,7 +262,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