summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/__main__.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-26 19:11:46 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-26 19:11:46 (GMT)
commitd543f2b8b0b66af330aae6764e53495cda48fd4e (patch)
tree649c09d1813846d425b69c02b667aa4248f8ad81 /Lib/idlelib/__main__.py
parent753445a425fba3e73d9eb15f10829a194da8b7fe (diff)
downloadcpython-d543f2b8b0b66af330aae6764e53495cda48fd4e.zip
cpython-d543f2b8b0b66af330aae6764e53495cda48fd4e.tar.gz
cpython-d543f2b8b0b66af330aae6764e53495cda48fd4e.tar.bz2
IDLE can be launched as python -m ildelib
Diffstat (limited to 'Lib/idlelib/__main__.py')
-rw-r--r--Lib/idlelib/__main__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/idlelib/__main__.py b/Lib/idlelib/__main__.py
new file mode 100644
index 0000000..0666f2f
--- /dev/null
+++ b/Lib/idlelib/__main__.py
@@ -0,0 +1,9 @@
+"""
+IDLE main entry point
+
+Run IDLE as python -m idlelib
+"""
+
+
+import idlelib.PyShell
+idlelib.PyShell.main()