Commit 18f1503
committed
gh-151138: Document Windows-specific temp dirs in gettempdir()
Add %USERPROFILE%\AppData\Local\Temp and %SYSTEMROOT%\Temp to
the documented Windows directory search order for gettempdir().
These directories have been checked since Python 3.6 (commit e5f41d2)
but were missing from the documentation. Also add a versionchanged
note for 3.6 to indicate when this behavior was introduced.1 parent 05ab13e commit 18f1503
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
353 | 359 | | |
354 | 360 | | |
355 | 361 | | |
| |||
359 | 365 | | |
360 | 366 | | |
361 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
362 | 373 | | |
363 | 374 | | |
364 | 375 | | |
| |||
0 commit comments