summaryrefslogtreecommitdiff
path: root/Lib/re.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-02-15 22:15:14 +0000
committerSkip Montanaro <skip@pobox.com>2001-02-15 22:15:14 +0000
commitd95497014dfaf13362efef69cae5b0ef1343b91a (patch)
tree983475a2129c410599fb07bf777a599ad23dcaac /Lib/re.py
parente57795f35cfdda6978125fde160b4685127d92aa (diff)
downloadcpython-d95497014dfaf13362efef69cae5b0ef1343b91a.tar.gz
bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
Diffstat (limited to 'Lib/re.py')
-rw-r--r--Lib/re.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/re.py b/Lib/re.py
index 6d75bb9c43..b125b20354 100644
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -26,7 +26,9 @@ engine = "sre"
if engine == "sre":
# New unicode-aware engine
from sre import *
+ from sre import __all__
else:
# Old 1.5.2 engine. This one supports 8-bit strings only,
# and will be removed in 2.0 final.
from pre import *
+ from pre import __all__