diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-09-04 18:19:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 18:19:30 (GMT) |
commit | 306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64 (patch) | |
tree | acbc10a13a6aa79beffaabced6b1f0155976e631 /Doc/library/glob.rst | |
parent | 81715808716198471fbca0a3db42ac408468dbc5 (diff) | |
download | cpython-306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64.zip cpython-306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64.tar.gz cpython-306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64.tar.bz2 |
bpo-40486: Specify what happens if directory content change diring iteration (GH-22025)
Diffstat (limited to 'Doc/library/glob.rst')
-rw-r--r-- | Doc/library/glob.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst index 280e9f0..3fdba69 100644 --- a/Doc/library/glob.rst +++ b/Doc/library/glob.rst @@ -43,7 +43,9 @@ For example, ``'[?]'`` matches the character ``'?'``. (like :file:`/usr/src/Python-1.5/Makefile`) or relative (like :file:`../../Tools/\*/\*.gif`), and can contain shell-style wildcards. Broken symlinks are included in the results (as in the shell). Whether or not the - results are sorted depends on the file system. + results are sorted depends on the file system. If a file that satisfies + conditions is removed or added during the call of this function, whether + a path name for that file be included is unspecified. If *root_dir* is not ``None``, it should be a :term:`path-like object` specifying the root directory for searching. It has the same effect on |