diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 12:15:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 12:15:05 (GMT) |
commit | a7395038812b4c24f108c9f90b2b9db90c7f237e (patch) | |
tree | 87af05b836ab8f910dfc00c2c33c7e282e6cd28e /Doc/reference/compound_stmts.rst | |
parent | e7a0990113873e5f0cc5cac203f47a8dcbda9848 (diff) | |
download | cpython-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.rst | 5 |
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 |