summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/format.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-20 06:37:47 (GMT)
committerGitHub <noreply@github.com>2019-11-20 06:37:47 (GMT)
commit132243957ce834cf5ffced4bf8e39d00f6e34e5f (patch)
tree548757b9986b5d12920b5376494661537b8cc60a /Lib/idlelib/format.py
parenta5ed2fe0eedefa1649aa93ee74a0bafc8e628a10 (diff)
downloadcpython-132243957ce834cf5ffced4bf8e39d00f6e34e5f.zip
cpython-132243957ce834cf5ffced4bf8e39d00f6e34e5f.tar.gz
cpython-132243957ce834cf5ffced4bf8e39d00f6e34e5f.tar.bz2
bpo-38636: Fix IDLE tab toggle and file indent width (GH-17008)
These Format menu functions (default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 and 3.8.0. (cherry picked from commit b8462477bfd01ff21461065d5063e6b0238ca809) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/format.py')
-rw-r--r--Lib/idlelib/format.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/format.py b/Lib/idlelib/format.py
index bced4c1..2b09805 100644
--- a/Lib/idlelib/format.py
+++ b/Lib/idlelib/format.py
@@ -353,8 +353,7 @@ class FormatRegion:
maxvalue=16)
-# With mixed indents not allowed, these are semi-useless and not unittested.
-class Indents: # pragma: no cover
+class Indents:
"Change future indents."
def __init__(self, editwin):