File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import types
4
4
5
- class A_new :
6
- "A new-style class."
5
+ class A :
6
+ "A class."
7
7
8
8
def A_method (self ):
9
9
"Method defined in A."
@@ -41,8 +41,8 @@ def _delx(self):
41
41
42
42
A_int_alias = int
43
43
44
- class B_new ( A_new ):
45
- "A new-style class, derived from A_new ."
44
+ class B ( A ):
45
+ "A class, derived from A ."
46
46
47
47
def AB_method (self ):
48
48
"Method defined in A and B."
@@ -61,8 +61,8 @@ def BD_method(self):
61
61
def BCD_method (self ):
62
62
"Method defined in B, C and D."
63
63
64
- class C_new ( A_new ):
65
- "A new-style class, derived from A_new ."
64
+ class C ( A ):
65
+ "A class, derived from A ."
66
66
67
67
def AC_method (self ):
68
68
"Method defined in A and C."
@@ -81,8 +81,8 @@ def C_method(self):
81
81
def CD_method (self ):
82
82
"Method defined in C and D."
83
83
84
- class D_new ( B_new , C_new ):
85
- """A new-style class, derived from B_new and C_new .
84
+ class D ( B , C ):
85
+ """A class, derived from B and C .
86
86
"""
87
87
88
88
def AD_method (self ):
You can’t perform that action at this time.
0 commit comments