diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 9b89cb92594ea6..76918e886e45b0 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -348,8 +348,9 @@ The module defines the following user-callable items: #. A platform-specific location: - * On Windows, the directories :file:`C:\\TEMP`, :file:`C:\\TMP`, - :file:`\\TEMP`, and :file:`\\TMP`, in that order. + * 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 :file:`/usr/tmp`, in that order.