diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-01-24 22:16:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 22:16:03 (GMT) |
commit | 63ebba0d9430a0bc18fd8551ad27b9b25709a4be (patch) | |
tree | e7d76fc70345a2ea9d787bed9992ab24dabd17b1 /Lib/idlelib/editor.py | |
parent | dce86c230bb91722e84cd3618c1ee9cb55cc220f (diff) | |
download | cpython-63ebba0d9430a0bc18fd8551ad27b9b25709a4be.zip cpython-63ebba0d9430a0bc18fd8551ad27b9b25709a4be.tar.gz cpython-63ebba0d9430a0bc18fd8551ad27b9b25709a4be.tar.bz2 |
bpo-43013: Update idlelib code to 3.x (GH-24315) (#24317)
Remove 9 remaining '(object)' occurrences in class headers in idlelib
and 25 '()' occurrences in idlelib.idle_test class headers.
(cherry picked from commit 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/editor.py')
-rw-r--r-- | Lib/idlelib/editor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index a178eaf..a4d0c95 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -46,7 +46,7 @@ def _sphinx_version(): return release -class EditorWindow(object): +class EditorWindow: from idlelib.percolator import Percolator from idlelib.colorizer import ColorDelegator, color_config from idlelib.undo import UndoDelegator @@ -1546,7 +1546,7 @@ def get_line_indent(line, tabwidth): return m.end(), len(m.group().expandtabs(tabwidth)) -class IndentSearcher(object): +class IndentSearcher: # .run() chews over the Text widget, looking for a block opener # and the stmt following it. Returns a pair, |