gh-87179: Fix more IDLE class headers (#96899)

Remove unneeded '(object)' and '()'.
This commit is contained in:
Terry Jan Reedy 2022-09-17 17:53:23 -04:00 committed by GitHub
parent 487135a396
commit aa671b48d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
from test.support import requires from test.support import requires
from _tkinter import TclError from _tkinter import TclError
class TextTest(object): class TextTest:
"Define items common to both sets of tests." "Define items common to both sets of tests."
hw = 'hello\nworld' # Several tests insert this after initialization. hw = 'hello\nworld' # Several tests insert this after initialization.

View File

@ -19,7 +19,7 @@
} }
code_sample = """\ code_sample = """\
class C1(): class C1:
# Class comment. # Class comment.
def __init__(self, a, b): def __init__(self, a, b):
self.a = a self.a = a