Commit 02fa20b
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.
The public `Path.mkdir()` method retains these arguments.WritablePath.mkdir() arguments (#130611)1 parent d0ef6f6 commit 02fa20b
2 files changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
| 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