mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
For reasons I dare not explain, this script should always execute
main() when imported (in other words, it is not usable as a module).
This commit is contained in:
parent
8ff764f113
commit
bd3bdde70b
1 changed files with 1 additions and 2 deletions
|
@ -56,5 +56,4 @@ def show(total, d, prefix):
|
|||
if d.has_key(key):
|
||||
show(tsub, d[key][1], psub)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue