mirror of https://github.com/python/cpython.git
gh-87179: Fix more IDLE class headers (#96899)
Remove unneeded '(object)' and '()'.
This commit is contained in:
parent
487135a396
commit
aa671b48d6
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue