]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-106747: Document another difference between `glob` and `pathlib`. (#116518)
authorBarney Gale <barney.gale@gmail.com>
Fri, 22 Mar 2024 19:14:09 +0000 (19:14 +0000)
committerGitHub <noreply@github.com>
Fri, 22 Mar 2024 19:14:09 +0000 (19:14 +0000)
commit72eea512b88f8fd68b7258242c37da963ad87360
tree5b904b2addf390594c8059e129fcb720c6558633
parente28477f214276db941e715eebc8cdfb96c1207d9
GH-106747: Document another difference between `glob` and `pathlib`. (#116518)

Document that `path.glob()` might return *path*, whereas
`glob.glob(root_dir=path)` will never return an empty string corresponding
to *path*.
Doc/library/pathlib.rst