summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-17 13:44:58 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-17 13:44:58 (GMT)
commit8d95ca4469585534604672cbd3f4527163be04de (patch)
tree4f9140e8c48e419bb88570463b595aac7548f6d6 /Doc
parent933f159a2f413891a0e47ea807372772182f8455 (diff)
downloadcpython-8d95ca4469585534604672cbd3f4527163be04de.zip
cpython-8d95ca4469585534604672cbd3f4527163be04de.tar.gz
cpython-8d95ca4469585534604672cbd3f4527163be04de.tar.bz2
Add text on tp_as_buffer that refers tothe section that covers the topic.
Additional material is still needed in that section.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/newtypes.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex
index 42f14fd..f982dec 100644
--- a/Doc/api/newtypes.tex
+++ b/Doc/api/newtypes.tex
@@ -678,9 +678,15 @@ PyMappingMethods *tp_as_mapping;
\member{tp_setattr} and \member{tp_setattro} are both \NULL.
\end{cmemberdesc}
-PyBufferProcs *tp_as_buffer;
-
- XXX
+\begin{cmemberdesc}{PyTypeObject}{PyBufferProcs*}{tp_as_buffer}
+ Pointer to an additional structure contains fields relevant only to
+ objects which implement the buffer interface. These fields are
+ documented in ``Buffer Object Structures'' (section
+ \ref{buffer-structs}).
+
+ The \member{tp_as_buffer} field is not inherited, but the contained
+ fields are inherited individually.
+\end{cmemberdesc}
\begin{cmemberdesc}{PyTypeObject}{long}{tp_flags}
This field is a bit mask of various flags. Some flags indicate