mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
This commit is contained in:
commit
cc10c33765
2 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import fnmatch
|
import fnmatch
|
||||||
|
|
||||||
__all__ = ["glob", "iglob"]
|
__all__ = ["glob", "iglob", "escape"]
|
||||||
|
|
||||||
def glob(pathname, *, recursive=False):
|
def glob(pathname, *, recursive=False):
|
||||||
"""Return a list of paths matching a pathname pattern.
|
"""Return a list of paths matching a pathname pattern.
|
||||||
|
|
|
@ -79,6 +79,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #25584: Added "escape" to the __all__ list in the glob module.
|
||||||
|
|
||||||
- Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'.
|
- Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'.
|
||||||
|
|
||||||
- Issue #25446: Fix regression in smtplib's AUTH LOGIN support.
|
- Issue #25446: Fix regression in smtplib's AUTH LOGIN support.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue