diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index bf9198e175a0e1..7ba1cd336fe29e 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -318,7 +318,8 @@ The module defines the following user-callable items: #. A platform-specific location: - * On Windows, the directories :file:`C:\\TEMP`, :file:`C:\\TMP`, + * On Windows, the directories :file:`%USERPROFILE%\AppData\Local\Temp`, :file:`%SYSTEMROOT%\Temp` + :file:`C:\\TEMP`, :file:`C:\\TMP`, :file:`\\TEMP`, and :file:`\\TMP`, in that order. * On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and