From aa671b48d62a00c5ab87fb102be15dd5eeac84dd Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 17 Sep 2022 17:53:23 -0400 Subject: gh-87179: Fix more IDLE class headers (#96899) Remove unneeded '(object)' and '()'. --- Lib/idlelib/idle_test/test_text.py | 2 +- Lib/idlelib/idle_test/test_zzdummy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/idlelib/idle_test') diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py index 0f31179e04b..43a9ba02c3d 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 1013cdc3c46..209d8564da0 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 -- cgit v1.2.3