Commit c2e4d42
gh-140971: Document pathlib.PurePath("") meaning and bool value (GH-157293)
pathlib.PurePath() and pathlib.PurePath('') both mean the
current working directory and both have boolean value True.
Patch implements suggestion in
#140993 (comment).
---------
(cherry picked from commit c36aa09)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: LiuQhahah <liuqiang9596@gmail.com>
1 parent c77e98a commit c2e4d42
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | | - | |
137 | | - | |
| 137 | + | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
1054 | 1055 | | |
1055 | 1056 | | |
1056 | 1057 | | |
1057 | | - | |
1058 | | - | |
| 1058 | + | |
| 1059 | + | |
1059 | 1060 | | |
1060 | 1061 | | |
1061 | 1062 | | |
1062 | 1063 | | |
1063 | 1064 | | |
1064 | 1065 | | |
1065 | 1066 | | |
| 1067 | + | |
| 1068 | + | |
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
| |||
0 commit comments