Commit 9e8b828f authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Support testing in .../Lib/idlelib when calling <python PyShell.py>

by providing other modules access to globals set up in PyShell.main()
parent f35092c3
......@@ -1299,4 +1299,5 @@ details.
"""
if __name__ == "__main__":
sys.modules['PyShell'] = sys.modules['__main__']
main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment