summaryrefslogtreecommitdiff
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 12:15:05 +0000
committerGeorg Brandl <georg@python.org>2007-10-21 12:15:05 +0000
commit4cf0e147aa80d46a38602aef891b918b0bbb23a3 (patch)
treed0c6abfe85bf5383120a18a773b228b17cbbc578 /Doc/tutorial
parenta181d9aca952a3e0c33003e8d6a64cde5fa4d0a1 (diff)
downloadcpython-4cf0e147aa80d46a38602aef891b918b0bbb23a3.tar.gz
Add :term:s for "new-style class".
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/classes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index d5bde442d7..e4e8451c5b 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -495,8 +495,8 @@ figure out the consequences of a name conflict with an attribute of
:class:`Base2`. The depth-first rule makes no differences between direct and
inherited attributes of :class:`Base1`.)
-For new-style classes, the method resolution order changes dynamically to
-support cooperative calls to :func:`super`. This approach is known in some
+For :term:`new-style class`\es, the method resolution order changes dynamically
+to support cooperative calls to :func:`super`. This approach is known in some
other multiple-inheritance languages as call-next-method and is more powerful
than the super call found in single-inheritance languages.