summaryrefslogtreecommitdiffstats
path: root/Lib/code.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-11-12 23:42:23 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-11-12 23:42:23 (GMT)
commitccd640525b4e54a56b343f0eb9f6fbfc837d6a91 (patch)
treebb0eaffa091db0ca2e62c295f7233170087ccee8 /Lib/code.py
parente36199b49df77c96bad687c6681d8e54c5053b84 (diff)
downloadcpython-ccd640525b4e54a56b343f0eb9f6fbfc837d6a91.zip
cpython-ccd640525b4e54a56b343f0eb9f6fbfc837d6a91.tar.gz
cpython-ccd640525b4e54a56b343f0eb9f6fbfc837d6a91.tar.bz2
this main is much more useful
Diffstat (limited to 'Lib/code.py')
-rw-r--r--Lib/code.py5
1 files changed, 2 insertions, 3 deletions
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 @@ def interact(banner=None, readfunc=None, local=None):
console.interact(banner)
-if __name__ == '__main__':
- import pdb
- pdb.run("interact()\n")
+if __name__ == "__main__":
+ interact()