We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23ade00 commit b61f2fbCopy full SHA for b61f2fb
1 file changed
python2/koans/about_new_style_classes.py
@@ -7,14 +7,18 @@
7
class AboutNewStyleClasses(Koan):
8
class OldStyleClass:
9
"An old style class"
10
- # Original class style have been phased out in Python 3.
+ # Original style classes from Python 2.1 and earlier, also known as
11
+ # "classic classes", have been phased out in Python 3.
12
13
class NewStyleClass(object):
14
"A new style class"
- # Introduced in Python 2.2
15
+ # Introduced in Python 2.2 to unify types and classes.
16
+ #
17
+ # If you want to learn more, see:
18
+ # https://www.python.org/download/releases/2.2.3/descrintro/
19
#
20
# Aside from this set of tests, Python Koans sticks exclusively to this
- # kind of class
21
+ # kind of class.
22
pass
23
24
def test_new_style_classes_inherit_from_object_base_class(self):
0 commit comments