summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 2e55755af3..fecbf1ad54 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -795,7 +795,11 @@ class PyShell(OutputWindow):
import __builtin__
__builtin__.quit = __builtin__.exit = "To exit, type Ctrl-D."
#
- self.config(usetabs=1, indentwidth=8, context_use_ps1=1)
+## self.config(usetabs=1, indentwidth=8, context_use_ps1=1)
+ self.usetabs = True
+ # indentwidth must be 8 when using tabs. See note in EditorWindow:
+ self.indentwidth = 8
+ self.context_use_ps1 = True
#
text = self.text
text.configure(wrap="char")