diff options
Diffstat (limited to 'Lib/string.py')
-rw-r--r-- | Lib/string.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/string.py b/Lib/string.py index 913d980..45fe977 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 |