Skip to content

Commit d543f2b

Browse files
committed
IDLE can be launched as python -m ildelib
1 parent 753445a commit d543f2b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Lib/idlelib/__main__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""
2+
IDLE main entry point
3+
4+
Run IDLE as python -m idlelib
5+
"""
6+
7+
8+
import idlelib.PyShell
9+
idlelib.PyShell.main()

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Core and Builtins
3434
Library
3535
-------
3636

37+
- IDLE can be launched as python -m ildelib
38+
3739
- Issue #14295: Add unittest.mock
3840

3941
- Issue #7652: Add --with-system-libmpdec option to configure for linking

0 commit comments

Comments
 (0)