bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
This commit is contained in:
parent
6d883fbe14
commit
1d3469988e
|
@ -33,6 +33,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False):
|
||||||
If recursive is true, the pattern '**' will match any files and
|
If recursive is true, the pattern '**' will match any files and
|
||||||
zero or more directories and subdirectories.
|
zero or more directories and subdirectories.
|
||||||
"""
|
"""
|
||||||
|
sys.audit("glob.glob", pathname, recursive)
|
||||||
if root_dir is not None:
|
if root_dir is not None:
|
||||||
root_dir = os.fspath(root_dir)
|
root_dir = os.fspath(root_dir)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue