We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pathlib.Path.glob()
1 parent 59da126 commit 0ee681aCopy full SHA for 0ee681a
Doc/library/pathlib.rst
@@ -916,6 +916,10 @@ call fails (for example because the path doesn't exist).
916
PosixPath('setup.py'),
917
PosixPath('test_pathlib.py')]
918
919
+ This method calls :meth:`Path.is_dir` on the top-level directory and
920
+ propagates any :exc:`OSError` exception that is raised. Subsequent
921
+ :exc:`OSError` exceptions from scanning directories are suppressed.
922
+
923
By default, or when the *case_sensitive* keyword-only argument is set to
924
``None``, this method matches paths using platform-specific casing rules:
925
typically, case-sensitive on POSIX, and case-insensitive on Windows.
0 commit comments