summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 12:15:05 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-21 12:15:05 (GMT)
commita7395038812b4c24f108c9f90b2b9db90c7f237e (patch)
tree87af05b836ab8f910dfc00c2c33c7e282e6cd28e /Doc/reference/compound_stmts.rst
parente7a0990113873e5f0cc5cac203f47a8dcbda9848 (diff)
downloadcpython-a7395038812b4c24f108c9f90b2b9db90c7f237e.zip
cpython-a7395038812b4c24f108c9f90b2b9db90c7f237e.tar.gz
cpython-a7395038812b4c24f108c9f90b2b9db90c7f237e.tar.bz2
Add :term:s for "new-style class".
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r--Doc/reference/compound_stmts.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 87d9d68..cebdcf1 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -534,8 +534,9 @@ must be given a value in the :meth:`__init__` method or in another method. Both
class and instance variables are accessible through the notation
"``self.name``", and an instance variable hides a class variable with the same
name when accessed in this way. Class variables with immutable values can be
-used as defaults for instance variables. For new-style classes, descriptors can
-be used to create instance variables with different implementation details.
+used as defaults for instance variables. For :term:`new-style class`\es,
+descriptors can be used to create instance variables with different
+implementation details.
.. rubric:: Footnotes