]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
removed __all__ - should probably rename makedict to _makedict unless it is
authorSkip Montanaro <skip@pobox.com>
Sun, 18 Feb 2001 03:13:08 +0000 (03:13 +0000)
committerSkip Montanaro <skip@pobox.com>
Sun, 18 Feb 2001 03:13:08 +0000 (03:13 +0000)
to be exported

Lib/sre_constants.py

index e14fa172f6c9aafa47f173e53346767795d0167c..7aedab15724de0186c018a718920344b06d00f95 100644 (file)
@@ -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()