[Python-checkins] r76231 - python/trunk/Lib/code.py

benjamin.peterson python-checkins at python.org
Fri Nov 13 00:42:23 CET 2009


Author: benjamin.peterson
Date: Fri Nov 13 00:42:23 2009
New Revision: 76231

Log:
this main is much more useful

Modified:
   python/trunk/Lib/code.py

Modified: python/trunk/Lib/code.py
==============================================================================
--- python/trunk/Lib/code.py	(original)
+++ python/trunk/Lib/code.py	Fri Nov 13 00:42:23 2009
@@ -306,6 +306,5 @@
     console.interact(banner)
 
 
-if __name__ == '__main__':
-    import pdb
-    pdb.run("interact()\n")
+if __name__ == "__main__":
+    interact()


More information about the Python-checkins mailing list