mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as subprecess.
This commit is contained in:
parent
1a7742eb4d
commit
cd49d53238
3 changed files with 22 additions and 21 deletions
|
@ -999,6 +999,8 @@ def begin(self):
|
|||
return False
|
||||
else:
|
||||
nosub = "==== No Subprocess ===="
|
||||
sys.displayhook = rpc.displayhook
|
||||
|
||||
self.write("Python %s on %s\n%s\n%s" %
|
||||
(sys.version, sys.platform, self.COPYRIGHT, nosub))
|
||||
self.showprompt()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue