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 -------