Commit 829c260
committed
GH-127381: pathlib ABCs: remove
Remove the *mode*, *parents* and *exist_ok* arguments from
`WritablePath.mkdir()`. These arguments imply support for POSIX permissions
and checking for preexistence of the path or its parents, but subclasses of
`WritablePath` may not have these capabilities.WritablePath.mkdir() arguments1 parent b251d40 commit 829c260
2 files changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
| 917 | + | |
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
| 921 | + | |
925 | 922 | | |
926 | 923 | | |
927 | 924 | | |
928 | 925 | | |
929 | 926 | | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
| 927 | + | |
934 | 928 | | |
935 | 929 | | |
936 | 930 | | |
| |||
0 commit comments