Skip to content

Commit 1d34699

Browse files
bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
1 parent 6d883fb commit 1d34699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/glob.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False):
3333
If recursive is true, the pattern '**' will match any files and
3434
zero or more directories and subdirectories.
3535
"""
36+
sys.audit("glob.glob", pathname, recursive)
3637
if root_dir is not None:
3738
root_dir = os.fspath(root_dir)
3839
else:

0 commit comments

Comments
 (0)