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 2e672f7 commit 7092b3fCopy full SHA for 7092b3f
Doc/library/pathlib.rst
@@ -993,6 +993,10 @@ call fails (for example because the path doesn't exist).
993
Set *follow_symlinks* to ``True`` or ``False`` to improve performance
994
of recursive globbing.
995
996
+ This method calls :meth:`Path.is_dir` on the top-level directory and
997
+ propagates any :exc:`OSError` exception that is raised. Subsequent
998
+ :exc:`OSError` exceptions from scanning directories are suppressed.
999
+
1000
By default, or when the *case_sensitive* keyword-only argument is set to
1001
``None``, this method matches paths using platform-specific casing rules:
1002
typically, case-sensitive on POSIX, and case-insensitive on Windows.
0 commit comments