8000 gh-87179: Fix more IDLE class headers (#96899) · python/cpython@aa671b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa671b4

Browse files
authored
gh-87179: Fix more IDLE class headers (#96899)
Remove unneeded '(object)' and '()'.
1 parent 487135a commit aa671b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/idlelib/idle_test/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from test.support import requires
77
from _tkinter import TclError
88

9-
class TextTest(object):
9+
class TextTest:
1010
"Define items common to both sets of tests."
1111

1212
hw = 'hello\nworld' # Several tests insert this after initialization.

Lib/idlelib/idle_test/test_zzdummy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
code_sample = """\
2121
22-
class C1():
22+
class C1:
2323
# Class comment.
2424
def __init__(self, a, b):
2525
self.a = a

0 commit comments

Comments
 (0)
0