aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-05-28 18:08:11 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-05-28 18:08:11 +0000
commite5d1c052166d0a6cbb087f21c1bba5184019bfd6 (patch)
treecbbb3c7e836b3b471ae639f90fc19835708a88a8
parentFix #8405 for slow buildbots. Remove the sleep on startup and move the (diff)
downloadcpython-e5d1c052166d0a6cbb087f21c1bba5184019bfd6.tar.gz
cpython-e5d1c052166d0a6cbb087f21c1bba5184019bfd6.tar.bz2
cpython-e5d1c052166d0a6cbb087f21c1bba5184019bfd6.zip
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 ba792601646..fb2c15a79a0 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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^