We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23b12d4 commit 7062317Copy full SHA for 7062317
Doc/library/pathlib.rst
@@ -863,7 +863,9 @@ call fails (for example because the path doesn't exist).
863
>>> sorted(Path('.').glob('*/*.py'))
864
[PosixPath('docs/conf.py')]
865
866
- "``**``" enables recursive globbing::
+ Pattern segments are the same as for :mod:`fnmatch`, with the addition of "``**``"
867
+ which means "this directory and all subdirectories, recursively". In other
868
+ words, it enables recursive globbing::
869
870
>>> sorted(Path('.').glob('**/*.py'))
871
[PosixPath('build/lib/pathlib.py'),
0 commit comments