diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-09-09 15:54:34 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2019-09-09 15:54:34 (GMT) |
commit | 370138ba9c29595df773cc057d17ea26fb6f21bd (patch) | |
tree | 2912100b1674bf408ad0628baf4383c7bd4557ea /Doc/library/tempfile.rst | |
parent | 9488a5289de2ceecdfd2098cd70d215f96c4e745 (diff) | |
download | cpython-370138ba9c29595df773cc057d17ea26fb6f21bd.zip cpython-370138ba9c29595df773cc057d17ea26fb6f21bd.tar.gz cpython-370138ba9c29595df773cc057d17ea26fb6f21bd.tar.bz2 |
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
Co-Authored-By: Ammar Askar <ammar_askar@hotmail.com>
Diffstat (limited to 'Doc/library/tempfile.rst')
-rw-r--r-- | Doc/library/tempfile.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 0793e43..fff7a7a 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -191,6 +191,9 @@ The module defines the following user-callable items: *suffix* and *prefix* now accept and default to ``None`` to cause an appropriate default value to be used. + .. versionchanged:: 3.6 + The *dir* parameter now accepts a :term:`path-like object`. + .. function:: mkdtemp(suffix=None, prefix=None, dir=None) @@ -214,6 +217,9 @@ The module defines the following user-callable items: *suffix* and *prefix* now accept and default to ``None`` to cause an appropriate default value to be used. + .. versionchanged:: 3.6 + The *dir* parameter now accepts a :term:`path-like object`. + .. function:: gettempdir() |