diff options
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/PyShell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 60fe3c2..3478004 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1299,4 +1299,5 @@ details. """ if __name__ == "__main__": + sys.modules['PyShell'] = sys.modules['__main__'] main() |