Skip to content

Commit

Permalink
pythongh-87179: Fix more IDLE class headers
Browse files Browse the repository at this point in the history
Remove unneeded '(object)' and '()'.
  • Loading branch information
terryjreedy committed Sep 17, 2022
1 parent 7e36abb commit 8b9cb31
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 8b9cb31

Please sign in to comment.