From 1ca2ed35e09f7531dbd58c021f60e2ee58774e41 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 18 Feb 2001 03:13:08 +0000 Subject: [PATCH] removed __all__ - should probably rename makedict to _makedict unless it is to be exported --- Lib/sre_constants.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index e14fa172f6c..7aedab15724 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py @@ -194,12 +194,6 @@ SRE_INFO_PREFIX = 1 # has prefix SRE_INFO_LITERAL = 2 # entire pattern is literal (given by prefix) SRE_INFO_CHARSET = 4 # pattern starts with character from given set -__all__ = locals().keys() -for _i in range(len(__all__)-1,-1,-1): - if __all__[_i][0] == "_": - del __all__[_i] -del _i - if __name__ == "__main__": def dump(f, d, prefix): items = d.items()