summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-02-18 03:13:08 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-02-18 03:13:08 (GMT)
commit1ca2ed35e09f7531dbd58c021f60e2ee58774e41 (patch)
tree6703a581fbc2e34a9c825d31262876a5a140992f
parent23bafc6fcdd918fb696d230a10b3ef992d17309b (diff)
downloadcpython-1ca2ed35e09f7531dbd58c021f60e2ee58774e41.zip
cpython-1ca2ed35e09f7531dbd58c021f60e2ee58774e41.tar.gz
cpython-1ca2ed35e09f7531dbd58c021f60e2ee58774e41.tar.bz2
removed __all__ - should probably rename makedict to _makedict unless it is
to be exported
-rw-r--r--Lib/sre_constants.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index e14fa17..7aedab1 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()