]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-78988: Document `pathlib.Path.glob()` exception propagation. (#114036)
authorBarney Gale <barney.gale@gmail.com>
Tue, 16 Jan 2024 22:28:54 +0000 (22:28 +0000)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 22:28:54 +0000 (22:28 +0000)
commit7092b3f1319269accf4c02f08256d51f111b9ca3
tree014159a182faed023ea4735467bd13c456e9a45e
parent2e672f7ca67470cbda3346a4b1b532cf5fa61799
GH-78988: Document `pathlib.Path.glob()` exception propagation. (#114036)

We propagate the `OSError` from the `is_dir()` call on the top-level
directory, and suppress all others.
Doc/library/pathlib.rst