commit | ccd640525b4e54a56b343f0eb9f6fbfc837d6a91 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Nov 12 23:42:23 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Nov 12 23:42:23 2009 +0000 |
tree | bb0eaffa091db0ca2e62c295f7233170087ccee8 | |
parent | e36199b49df77c96bad687c6681d8e54c5053b84 [diff] [blame] |
this main is much more useful
diff --git a/Lib/code.py b/Lib/code.py index 2e3ee11..3b39d1b 100644 --- a/Lib/code.py +++ b/Lib/code.py
@@ -306,6 +306,5 @@ console.interact(banner) -if __name__ == '__main__': - import pdb - pdb.run("interact()\n") +if __name__ == "__main__": + interact()