Skip to content

Commit

Permalink
pythongh-87179: Fix more IDLE class headers (pythonGH-96899)
Browse files Browse the repository at this point in the history
Remove unneeded '(object)' and '()'.
(cherry picked from commit aa671b4)

Co-authored-by: Terry Jan Reedy <[email protected]>
  • Loading branch information
terryjreedy authored and miss-islington committed Sep 17, 2022
1 parent 876606f commit 97d87df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from test.support import requires
from _tkinter import TclError

class TextTest(object):
class TextTest:
"Define items common to both sets of tests."

hw = 'hello\nworld' # Several tests insert this after initialization.
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_zzdummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
code_sample = """\
class C1():
class C1:
# Class comment.
def __init__(self, a, b):
self.a = a
Expand Down

0 comments on commit 97d87df

Please sign in to comment.