summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-05-31 22:57:24 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-05-31 22:57:24 (GMT)
commit2e183377eee07133edb495d9a386c1d81784980d (patch)
tree433473d07230f6f21ab47d60a54e01b595e834a5
parentb0d6a59666ee89d80b5f0aa23805dea4a83b2c3e (diff)
downloadcpython-2e183377eee07133edb495d9a386c1d81784980d.zip
cpython-2e183377eee07133edb495d9a386c1d81784980d.tar.gz
cpython-2e183377eee07133edb495d9a386c1d81784980d.tar.bz2
Merged revisions 81586 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81586 | r.david.murray | 2010-05-28 14:08:11 -0400 (Fri, 28 May 2010) | 2 lines Make reference to Generic Attribute Management a hyperlink. ........
-rw-r--r--Doc/extending/newtypes.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index ba79260..fb2c15a 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -446,7 +446,7 @@ and put the definitions in the :attr:`tp_members` slot::
Noddy_members, /* tp_members */
Each member definition has a member name, type, offset, access flags and
-documentation string. See the "Generic Attribute Management" section below for
+documentation string. See the :ref:`Generic-Attribute-Management` section below for
details.
A disadvantage of this approach is that it doesn't provide a way to restrict the
@@ -1129,6 +1129,8 @@ disappeared starting with Python 2.2, though there are many examples which have
not been updated to use some of the new generic mechanism that is available.
+.. _generic-attribute-management:
+
Generic Attribute Management
^^^^^^^^^^^^^^^^^^^^^^^^^^^^