summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2022-09-17 21:53:23 (GMT)
committerGitHub <noreply@github.com>2022-09-17 21:53:23 (GMT)
commitaa671b48d62a00c5ab87fb102be15dd5eeac84dd (patch)
tree5ae8f83f97079ca71f76521c358c29921ece21df /Lib/idlelib
parent487135a396a504482ae3a7e9c7f80a44627a5a3f (diff)
downloadcpython-aa671b48d62a00c5ab87fb102be15dd5eeac84dd.zip
cpython-aa671b48d62a00c5ab87fb102be15dd5eeac84dd.tar.gz
cpython-aa671b48d62a00c5ab87fb102be15dd5eeac84dd.tar.bz2
gh-87179: Fix more IDLE class headers (#96899)
Remove unneeded '(object)' and '()'.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_text.py2
-rw-r--r--Lib/idlelib/idle_test/test_zzdummy.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py
index 0f31179..43a9ba0 100644
--- a/Lib/idlelib/idle_test/test_text.py
+++ b/Lib/idlelib/idle_test/test_text.py
@@ -6,7 +6,7 @@ import unittest
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.
diff --git a/Lib/idlelib/idle_test/test_zzdummy.py b/Lib/idlelib/idle_test/test_zzdummy.py
index 1013cdc..209d856 100644
--- a/Lib/idlelib/idle_test/test_zzdummy.py
+++ b/Lib/idlelib/idle_test/test_zzdummy.py
@@ -19,7 +19,7 @@ testcfg = {
}
code_sample = """\
-class C1():
+class C1:
# Class comment.
def __init__(self, a, b):
self.a = a