summaryrefslogtreecommitdiffstats
path: root/Lib/glob.py
diff options
context:
space:
mode:
authorSaiyang Gou <gousaiyang@163.com>2021-04-21 22:42:55 (GMT)
committerGitHub <noreply@github.com>2021-04-21 22:42:55 (GMT)
commita32f8fe7133aad4f3cf8946534e3b79a5f2659da (patch)
tree928495171f025cb05975d53ea1621df05ade92b0 /Lib/glob.py
parent7b86e47617d81a4b14d929743425f448971e8c86 (diff)
downloadcpython-a32f8fe7133aad4f3cf8946534e3b79a5f2659da.zip
cpython-a32f8fe7133aad4f3cf8946534e3b79a5f2659da.tar.gz
cpython-a32f8fe7133aad4f3cf8946534e3b79a5f2659da.tar.bz2
bpo-43756: Add new audit event for new arguments added to glob.glob (GH-25239)
Diffstat (limited to 'Lib/glob.py')
-rw-r--r--Lib/glob.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/glob.py b/Lib/glob.py
index a491363..a6cff87 100644
--- a/Lib/glob.py
+++ b/Lib/glob.py
@@ -34,6 +34,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False):
zero or more directories and subdirectories.
"""
sys.audit("glob.glob", pathname, recursive)
+ sys.audit("glob.glob/2", pathname, recursive, root_dir, dir_fd)
if root_dir is not None:
root_dir = os.fspath(root_dir)
else: