summaryrefslogtreecommitdiff
path: root/Lib/string.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/string.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/string.py')
-rw-r--r--Lib/string.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/string.py b/Lib/string.py
index 913d980bae..45fe977409 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -379,3 +379,9 @@ try:
letters = lowercase + uppercase
except ImportError:
pass # Use the original versions
+
+__all__ = locals().keys()
+for _i in range(len(__all__)-1,-1,-1):
+ if __all__[_i][0] == "_":
+ del __all__[_i]
+del _i