diff options
author | Georg Brandl <georg@python.org> | 2008-04-07 19:17:06 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-07 19:17:06 (GMT) |
commit | 23e8db57e7213f88d68b3f7ccb8db5e3b6d9a693 (patch) | |
tree | ebb33093929aee3872ca06ee93b9db57338d331f /Doc/reference/compound_stmts.rst | |
parent | dc21db36cb481a192cc259b21e80e8d84f45f5d3 (diff) | |
download | cpython-23e8db57e7213f88d68b3f7ccb8db5e3b6d9a693.zip cpython-23e8db57e7213f88d68b3f7ccb8db5e3b6d9a693.tar.gz cpython-23e8db57e7213f88d68b3f7ccb8db5e3b6d9a693.tar.bz2 |
#2567: remove new-style/old-style class docs.
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 5b590ce..d60ee56f 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -577,9 +577,8 @@ can be set in a method with ``self.name = value``. 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 can be used as defaults for instance variables, but using -mutable values there can lead to unexpected results. For :term:`new-style -class`\es, descriptors can be used to create instance variables with different -implementation details. +mutable values there can lead to unexpected results. Descriptors can be used +to create instance variables with different implementation details. .. XXX add link to descriptor docs above |