diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-12-29 01:06:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-29 01:06:16 (GMT) |
commit | 4bc246786f003cdf1fffb3403b4cd92fc42ba9ef (patch) | |
tree | eeaa421e7c80b7e58a5b1cf0eef26d7807746b09 /Lib | |
parent | c0381aaea4ad3e866bde70393c4f7efe9bcf3568 (diff) | |
download | cpython-4bc246786f003cdf1fffb3403b4cd92fc42ba9ef.zip cpython-4bc246786f003cdf1fffb3403b4cd92fc42ba9ef.tar.gz cpython-4bc246786f003cdf1fffb3403b4cd92fc42ba9ef.tar.bz2 |
bpo-34055: Revert deletion of line in IDLE's PyShell (#11346)
The attribute is still used in other modules.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/idlelib/pyshell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index 81a97ef..b6172fd 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -882,7 +882,7 @@ class PyShell(OutputWindow): self.usetabs = True # indentwidth must be 8 when using tabs. See note in EditorWindow: self.indentwidth = 8 - + self.context_use_ps1 = True self.sys_ps1 = sys.ps1 if hasattr(sys, 'ps1') else '>>> ' self.prompt_last_line = self.sys_ps1.split('\n')[-1] self.prompt = self.sys_ps1 # Changes when debug active |