From 0907ebe2fbce78a3b6b961e2ab459545745a68a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mesejo-Le=C3=B3n?= Date: Wed, 20 Oct 2021 21:16:47 +0200 Subject: [PATCH] Update description of tempfile.mkstemp Co-authored-by: James Bourbeau --- dask/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dask/utils.py b/dask/utils.py index 28773d69a85..cdf74f0b70c 100644 --- a/dask/utils.py +++ b/dask/utils.py @@ -173,8 +173,8 @@ def tmpfile(extension="", dir=None): extension : str The extension of the temporary file to be created dir : str - The name of the directory to create the file, if is not None, the file will be created in that directory, - otherwise a default directory is used. + If ``dir`` is not None, the file will be created in that directory; otherwise, + Python's default temporary directory is used. Returns -------