]> granicus.if.org Git - python/commitdiff
Issue #25584: Added "escape" to the __all__ list in the glob module.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 9 Nov 2015 21:18:19 +0000 (23:18 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 9 Nov 2015 21:18:19 +0000 (23:18 +0200)
From patch by Xavier de Gaye.

Lib/glob.py
Misc/NEWS

index d6742893187b78720e6f8f8bbd74167598b5d465..16330d816a4e8fe1229f5f6677f848bcbea359cf 100644 (file)
@@ -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.
index 00b952f656f639c09abebc6a43fce433fa6b90f5..7df90e04b08af34b70f78affb48673bcff9214a4 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -61,6 +61,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.