mirror of
https://github.com/python/cpython.git
synced 2025-08-08 10:58:51 +00:00
bpo-43013: Update idlelib code to 3.x (GH-24315)
Remove 9 remaining '(object)' occurrences in class headers in idlelib
and 25 '()' occurrences in idlelib.idle_test class headers.
(cherry picked from commit 8dfe15625e
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
00e24cdca4
commit
ff06957710
10 changed files with 49 additions and 47 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue