Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions Lib/test/pydocfodder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -41,8 +41,8 @@ def _delx(self):

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."
Expand All @@ -61,8 +61,8 @@ def BD_method(self):
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."
Expand All @@ -81,8 +81,8 @@ def C_method(self):
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):
Expand Down