Repository navigation
Commit 68f093f
committed
gh-160904: Correct os.path.normcase documentation for POSIX
os.path.normcase does not do nothing on POSIX: it calls os.fspath,
which normalizes path-like objects to str or bytes. Say so in the
docstring and in the documentation, instead of claiming that the
path is returned unchanged.1 parent 8a5e24a commit 68f093f
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
419 | 421 | | |
420 | 422 | | |
421 | 423 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments