Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3309113 commit b2b6cd0Copy full SHA for b2b6cd0
1 file changed
Doc/library/pathlib.rst
@@ -798,8 +798,9 @@ call fails (for example because the path doesn't exist).
798
>>> sorted(Path('.').glob('*/*.py'))
799
[PosixPath('docs/conf.py')]
800
801
- The "``**``" pattern means "this directory and all subdirectories,
802
- recursively". In other words, it enables recursive globbing::
+ Patterns are the same as for :mod:`fnmatch`, with the addition of "``**``"
+ which means "this directory and all subdirectories, recursively". In other
803
+ words, it enables recursive globbing::
804
805
>>> sorted(Path('.').glob('**/*.py'))
806
[PosixPath('build/lib/pathlib.py'),
0 commit comments