File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,11 @@ built on debug mode <debug-build>`.
106
106
pathlib
107
107
-------
108
108
109
+ * :meth: `pathlib.Path.glob ` and :meth: `~pathlib.Path.rglob ` now match files
110
+ and directories when expanding a pattern that ends with "``** ``". In
111
+ earlier Python releases, patterns with this ending match only directories.
112
+ (Contributed by Barney Gale in :gh: `70303 `.)
113
+
109
114
* Add support for recursive wildcards in :meth: `pathlib.PurePath.match `.
110
115
(Contributed by Barney Gale in :gh: `73435 `.)
111
116
Original file line number Diff line number Diff line change 1
1
:meth: `pathlib.Path.glob ` and :meth: `~pathlib.Path.rglob ` now yield files and
2
- directories when expanding a pattern that ends with "``** ``". In a earlier
2
+ directories when expanding a pattern that ends with "``** ``". In earlier
3
3
Python releases, patterns with this ending match only directories.
You can’t perform that action at this time.
0 commit comments