Add text on tp_as_buffer that refers tothe section that covers the topic.

Additional material is still needed in that section.
This commit is contained in:
Fred Drake 2002-04-17 13:44:58 +00:00
parent 933f159a2f
commit 8d95ca4469
1 changed files with 8 additions and 2 deletions

View File

@ -678,9 +678,15 @@ PyMappingMethods *tp_as_mapping;
\member{tp_setattr} and \member{tp_setattro} are both \NULL.
\end{cmemberdesc}
PyBufferProcs *tp_as_buffer;
\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}).
XXX
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