removed __all__ - should probably rename makedict to _makedict unless it is
to be exported
This commit is contained in:
parent
23bafc6fcd
commit
1ca2ed35e0
|
@ -194,12 +194,6 @@ SRE_INFO_PREFIX = 1 # has prefix
|
||||||
SRE_INFO_LITERAL = 2 # entire pattern is literal (given by prefix)
|
SRE_INFO_LITERAL = 2 # entire pattern is literal (given by prefix)
|
||||||
SRE_INFO_CHARSET = 4 # pattern starts with character from given set
|
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__":
|
if __name__ == "__main__":
|
||||||
def dump(f, d, prefix):
|
def dump(f, d, prefix):
|
||||||
items = d.items()
|
items = d.items()
|
||||||
|
|
Loading…
Reference in New Issue