summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-21 04:38:27 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-21 04:38:27 (GMT)
commitdef2c967188485ef3518ee00bb9a6f7365fba1a8 (patch)
treeb3429a906ddc5217365c91492de311503306c1a2 /Tools/idle/PyShell.py
parentc40c54782cdbdc7b0b90d0dd805647aa92e75a78 (diff)
downloadcpython-def2c967188485ef3518ee00bb9a6f7365fba1a8.zip
cpython-def2c967188485ef3518ee00bb9a6f7365fba1a8.tar.gz
cpython-def2c967188485ef3518ee00bb9a6f7365fba1a8.tar.bz2
Much improved autoindent and handling of tabs,
by Tim Peters.
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py
index 64ef2d1..e01cad8 100644
--- a/Tools/idle/PyShell.py
+++ b/Tools/idle/PyShell.py
@@ -291,7 +291,7 @@ class PyShell(OutputWindow):
__builtin__.quit = __builtin__.exit = "To exit, type Ctrl-D."
self.auto = self.extensions["AutoIndent"] # Required extension
- self.auto.config(prefertabs=1)
+ self.auto.config(usetabs=1, indentwidth=8)
text = self.text
text.configure(wrap="char")