From: Skip Montanaro Date: Sun, 18 Feb 2001 03:13:08 +0000 (+0000) Subject: removed __all__ - should probably rename makedict to _makedict unless it is X-Git-Tag: v2.1b1~312 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ca2ed35e09f7531dbd58c021f60e2ee58774e41;p=thirdparty%2FPython%2Fcpython.git removed __all__ - should probably rename makedict to _makedict unless it is to be exported --- diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index e14fa172f6c9..7aedab15724d 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()