Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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