summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-09 23:18:32 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-09 23:18:32 +0200
commitcc10c337656c6849861efa6b6f7bc89557b92aaf (patch)
tree13f5d67df1ee908e853988a187f00086a3f8f873
parent8e43e11be300e6aa16ac37548d0799c27700c16e (diff)
parent04b5700b3643d0f04219481a9b5b94586109430d (diff)
downloadcpython-git-cc10c337656c6849861efa6b6f7bc89557b92aaf.tar.gz
Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
-rw-r--r--Lib/glob.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/glob.py b/Lib/glob.py
index d674289318..16330d816a 100644
--- a/Lib/glob.py
+++ b/Lib/glob.py
@@ -4,7 +4,7 @@ import os
import re
import fnmatch
-__all__ = ["glob", "iglob"]
+__all__ = ["glob", "iglob", "escape"]
def glob(pathname, *, recursive=False):
"""Return a list of paths matching a pathname pattern.
diff --git a/Misc/NEWS b/Misc/NEWS
index 9f699ca579..c35caac0cb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,6 +79,8 @@ Core and Builtins
Library
-------
+- Issue #25584: Added "escape" to the __all__ list in the glob module.
+
- Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'.
- Issue #25446: Fix regression in smtplib's AUTH LOGIN support.