Skip to content

Commit 92bd75f

Browse files
authored
Update tempfile.rst
gh-151138: Update Windows temp directory locations
1 parent 84a322a commit 92bd75f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/tempfile.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ The module defines the following user-callable items:
318318

319319
#. A platform-specific location:
320320

321-
* On Windows, the directories :file:`C:\\TEMP`, :file:`C:\\TMP`,
321+
* On Windows, the directories :file:`%USERPROFILE%\AppData\Local\Temp`, :file:`%SYSTEMROOT%\Temp`
322+
:file:`C:\\TEMP`, :file:`C:\\TMP`,
322323
:file:`\\TEMP`, and :file:`\\TMP`, in that order.
323324

324325
* On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and

0 commit comments

Comments
 (0)