summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-10-20 16:45:38 (GMT)
committerGitHub <noreply@github.com>2020-10-20 16:45:38 (GMT)
commit1d3469988e2c1f53ca84ffdc979d548c04ba3906 (patch)
tree03d025d28d6641cdb4191bd33149b9071475c325
parent6d883fbe14751b58d9ed2fd708322613d8931035 (diff)
downloadcpython-1d3469988e2c1f53ca84ffdc979d548c04ba3906.zip
cpython-1d3469988e2c1f53ca84ffdc979d548c04ba3906.tar.gz
cpython-1d3469988e2c1f53ca84ffdc979d548c04ba3906.tar.bz2
bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
-rw-r--r--Lib/glob.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/glob.py b/Lib/glob.py
index 3c449a9..a491363 100644
--- a/Lib/glob.py
+++ b/Lib/glob.py
@@ -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
zero or more directories and subdirectories.
"""
+ sys.audit("glob.glob", pathname, recursive)
if root_dir is not None:
root_dir = os.fspath(root_dir)
else: