[3.11] gh-113468: Remove the "_new_ suffix from class names in pydocfodder (GH-113469) (GH-115300)

(cherry picked from commit 8a3d0e4a66)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-02-11 15:51:32 +01:00 committed by GitHub
parent 75d92f5c4e
commit 83a69a6a01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,8 +2,8 @@
import types
class A_new:
"A new-style class."
class A:
"A class."
def A_method(self):
"Method defined in A."
@ -41,8 +41,8 @@ class A_new:
A_int_alias = int
class B_new(A_new):
"A new-style class, derived from A_new."
class B(A):
"A class, derived from A."
def AB_method(self):
"Method defined in A and B."
@ -61,8 +61,8 @@ class B_new(A_new):
def BCD_method(self):
"Method defined in B, C and D."
class C_new(A_new):
"A new-style class, derived from A_new."
class C(A):
"A class, derived from A."
def AC_method(self):
"Method defined in A and C."
@ -81,8 +81,8 @@ class C_new(A_new):
def CD_method(self):
"Method defined in C and D."
class D_new(B_new, C_new):
"""A new-style class, derived from B_new and C_new.
class D(B, C):
"""A class, derived from B and C.
"""
def AD_method(self):