bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)

This commit is contained in:
Serhiy Storchaka 2020-10-20 19:45:38 +03:00 committed by GitHub
parent 6d883fbe14
commit 1d3469988e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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: