Kaydet (Commit) dc1a072e authored tarafından Fred Drake's avatar Fred Drake

Reduced number of temporary names used at module scope. Use underscores in

front of temporary names in the module namespace.
üst 1f83ccee
......@@ -72,12 +72,10 @@ arglist = 311
argument = 312
#--end constants--
names = dir()
sym_name = {}
for name in names:
number = eval(name)
if type(number) is type(0):
sym_name[number] = name
for _name, _value in globals().items():
if type(_value) is type(0):
sym_name[_value] = _name
def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment