summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-01 01:12:24 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-06-01 01:12:24 (GMT)
commit5fc99cf96343de10940c8368acaefbf9a43a568a (patch)
tree5e62eda5088f58f77360e184ff221ace07d0556a /Doc/extending
parent2204fb61e435b3d2dfca58135c2306ce50d2984f (diff)
downloadcpython-5fc99cf96343de10940c8368acaefbf9a43a568a.zip
cpython-5fc99cf96343de10940c8368acaefbf9a43a568a.tar.gz
cpython-5fc99cf96343de10940c8368acaefbf9a43a568a.tar.bz2
Merged revisions 81630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81630 | r.david.murray | 2010-05-31 21:11:18 -0400 (Mon, 31 May 2010) | 9 lines 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. ........ ................
Diffstat (limited to 'Doc/extending')
-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 0ea2461..074a603 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -430,7 +430,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
@@ -1078,6 +1078,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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^