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: http://git.ipfire.org/?a=commitdiff_plain;h=ccd640525b4e54a56b343f0eb9f6fbfc837d6a91;p=thirdparty%2FPython%2Fcpython.git this main is much more useful --- diff --git a/Lib/code.py b/Lib/code.py index 2e3ee11523bc..3b39d1b346f9 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()