]> granicus.if.org Git - python/commitdiff
Make reference to Generic Attribute Management a hyperlink.
authorR. David Murray <rdmurray@bitdance.com>
Fri, 28 May 2010 18:08:11 +0000 (18:08 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Fri, 28 May 2010 18:08:11 +0000 (18:08 +0000)
Doc/extending/newtypes.rst

index ba7926016462d1d11fd8859ca89e589778a04fa9..fb2c15a79a0783def2a14d8f1a9e39ce1a74644d 100644 (file)
@@ -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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^