https://github.com/python/cpython/commit/b225cb770fb17596298f5a05c41a7c90c470c4f8 commit: b225cb770fb17596298f5a05c41a7c90c470c4f8 branch: 3.6 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月21日T04:05:07-04:00 summary: bpo-33894: Clarified the tempfile.tempdir documentation (GH-7829) (GH-7842) (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`.