From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 21 Jun 2018 08:03:29 +0000 (-0700) Subject: Clarified the tempfile.tempdir documentation (GH-7829) (GH-7841) X-Git-Tag: v3.7.1rc1~391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fee52e34ce62e60ecea81e0835d2393fa625da31;p=thirdparty%2FPython%2Fcpython.git Clarified the tempfile.tempdir documentation (GH-7829) (GH-7841) (cherry picked from commit 940ae608566fd4446ff92a22705f646cde1d087c) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) --- 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`.