summaryrefslogtreecommitdiffstats
path: root/Lib/test/pydocfodder.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/pydocfodder.py')
-rw-r--r--Lib/test/pydocfodder.py80
1 files changed, 1 insertions, 79 deletions
diff --git a/Lib/test/pydocfodder.py b/Lib/test/pydocfodder.py
index 2530320..d0750e5 100644
--- a/Lib/test/pydocfodder.py
+++ b/Lib/test/pydocfodder.py
@@ -2,85 +2,7 @@
import types
-class A_classic:
- "A classic class."
- def A_method(self):
- "Method defined in A."
- def AB_method(self):
- "Method defined in A and B."
- def AC_method(self):
- "Method defined in A and C."
- def AD_method(self):
- "Method defined in A and D."
- def ABC_method(self):
- "Method defined in A, B and C."
- def ABD_method(self):
- "Method defined in A, B and D."
- def ACD_method(self):
- "Method defined in A, C and D."
- def ABCD_method(self):
- "Method defined in A, B, C and D."
-
-
-class B_classic(A_classic):
- "A classic class, derived from A_classic."
- def AB_method(self):
- "Method defined in A and B."
- def ABC_method(self):
- "Method defined in A, B and C."
- def ABD_method(self):
- "Method defined in A, B and D."
- def ABCD_method(self):
- "Method defined in A, B, C and D."
- def B_method(self):
- "Method defined in B."
- def BC_method(self):
- "Method defined in B and C."
- def BD_method(self):
- "Method defined in B and D."
- def BCD_method(self):
- "Method defined in B, C and D."
-
-class C_classic(A_classic):
- "A classic class, derived from A_classic."
- def AC_method(self):
- "Method defined in A and C."
- def ABC_method(self):
- "Method defined in A, B and C."
- def ACD_method(self):
- "Method defined in A, C and D."
- def ABCD_method(self):
- "Method defined in A, B, C and D."
- def BC_method(self):
- "Method defined in B and C."
- def BCD_method(self):
- "Method defined in B, C and D."
- def C_method(self):
- "Method defined in C."
- def CD_method(self):
- "Method defined in C and D."
-
-class D_classic(B_classic, C_classic):
- "A classic class, derived from B_classic and C_classic."
- def AD_method(self):
- "Method defined in A and D."
- def ABD_method(self):
- "Method defined in A, B and D."
- def ACD_method(self):
- "Method defined in A, C and D."
- def ABCD_method(self):
- "Method defined in A, B, C and D."
- def BD_method(self):
- "Method defined in B and D."
- def BCD_method(self):
- "Method defined in B, C and D."
- def CD_method(self):
- "Method defined in C and D."
- def D_method(self):
- "Method defined in D."
-
-
-class A_new(object):
+class A_new:
"A new-style class."
def A_method(self):