diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-26 22:11:46 +0300 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-26 22:11:46 +0300 |
commit | d543f2b8b0b66af330aae6764e53495cda48fd4e (patch) | |
tree | 649c09d1813846d425b69c02b667aa4248f8ad81 | |
parent | 753445a425fba3e73d9eb15f10829a194da8b7fe (diff) | |
download | cpython-git-d543f2b8b0b66af330aae6764e53495cda48fd4e.tar.gz |
IDLE can be launched as python -m ildelib
-rw-r--r-- | Lib/idlelib/__main__.py | 9 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Lib/idlelib/__main__.py b/Lib/idlelib/__main__.py new file mode 100644 index 0000000000..0666f2fd1b --- /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() @@ -34,6 +34,8 @@ Core and Builtins Library ------- +- IDLE can be launched as python -m ildelib + - Issue #14295: Add unittest.mock - Issue #7652: Add --with-system-libmpdec option to configure for linking |