commit | 64850efa39c7e0442718f599c27fade5c9282311 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sat Sep 16 22:09:51 2000 +0000 |
committer | Barry Warsaw <barry@python.org> | Sat Sep 16 22:09:51 2000 +0000 |
tree | 28556ab06ef4d75469f2dbffc89c286f04f37078 | |
parent | 1cca9e29f97b4778e07e4a8948e0a677334f8560 [diff] |
Allow this script to act like a module by only calling main() if __name__ == '__main__'. Closes SF bug #110844.