Commit bd3bdde7 authored by Guido van Rossum's avatar Guido van Rossum

For reasons I dare not explain, this script should always execute

main() when imported (in other words, it is not usable as a module).
parent 8ff764f1
...@@ -56,5 +56,4 @@ def show(total, d, prefix): ...@@ -56,5 +56,4 @@ def show(total, d, prefix):
if d.has_key(key): if d.has_key(key):
show(tsub, d[key][1], psub) show(tsub, d[key][1], psub)
if __name__ == "__main__": main()
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