From: Benjamin Peterson Date: Thu, 12 Nov 2009 23:42:23 +0000 (+0000) Subject: this main is much more useful X-Git-Tag: v2.7a1~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccd640525b4e54a56b343f0eb9f6fbfc837d6a91;p=python this main is much more useful --- diff --git a/Lib/code.py b/Lib/code.py index 2e3ee11523..3b39d1b346 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -306,6 +306,5 @@ def interact(banner=None, readfunc=None, local=None): console.interact(banner) -if __name__ == '__main__': - import pdb - pdb.run("interact()\n") +if __name__ == "__main__": + interact()