summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-31 17:17:17 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-31 17:17:17 (GMT)
commit81ac1ce56af43a37d963ec8aecb7069b7edb2077 (patch)
tree8e79225231f5e8b2fea8527d29b1274df128f05a /Doc/c-api
parentdcc56f8bf668965ef5f3cfe2fd6a07b7b84b08a8 (diff)
downloadcpython-81ac1ce56af43a37d963ec8aecb7069b7edb2077.zip
cpython-81ac1ce56af43a37d963ec8aecb7069b7edb2077.tar.gz
cpython-81ac1ce56af43a37d963ec8aecb7069b7edb2077.tar.bz2
Address a few XXX comments, other fixes.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/newtypes.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/Doc/c-api/newtypes.rst b/Doc/c-api/newtypes.rst
index f8694bf..09091e1 100644
--- a/Doc/c-api/newtypes.rst
+++ b/Doc/c-api/newtypes.rst
@@ -1155,7 +1155,7 @@ The next fields, up to and including :attr:`tp_weaklist`, only exist if the
PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type);
- XXX blah, blah.
+ XXX more
This field is inherited by subtypes.
@@ -1170,7 +1170,7 @@ The next fields, up to and including :attr:`tp_weaklist`, only exist if the
This field is inherited by subtypes.
- XXX blah, blah.
+ XXX more
.. cmember:: long PyTypeObject.tp_dictoffset
@@ -1595,9 +1595,6 @@ objects which may also be containers. Types which do not store references to
other objects, or which only store references to atomic types (such as numbers
or strings), do not need to provide any explicit support for garbage collection.
-.. An example showing the use of these interfaces can be found in "Supporting the
-.. Cycle Collector (XXX not found: ../ext/example-cycle-support.html)".
-
To create a container type, the :attr:`tp_flags` field of the type object must
include the :const:`Py_TPFLAGS_HAVE_GC` and provide an implementation of the
:attr:`tp_traverse` handler. If instances of the type are mutable, a