object.
More information on the buffer interface is provided in the section
-``Buffer Object Structures'' (section \ref{buffer-structs}), under
+``Buffer Object Structures'' (section~\ref{buffer-structs}), under
the description for \ctype{PyBufferProcs}\ttindex{PyBufferProcs}.
A ``buffer object'' is defined in the \file{bufferobject.h} header
\versionadded{2.2}
\end{cfuncdesc}
+
\section{Other Objects \label{otherObjects}}
\subsection{File Objects \label{fileObjects}}
\subsection{Descriptor Objects \label{descriptor-objects}}
+``Descriptors'' are objects that describe some attribute of an object.
+They are found in the dictionary of type objects.
+
\begin{cvardesc}{PyTypeObject}{PyProperty_Type}
- The type object for a descriptor.
+ The type object for the built-in descriptor types.
\versionadded{2.2}
\end{cvardesc}
\obindex{CObject}
Refer to \emph{Extending and Embedding the Python Interpreter},
-section 1.12 (``Providing a C API for an Extension Module), for more
+section~1.12, ``Providing a C API for an Extension Module,'' for more
information on using these objects.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyCObject_FromVoidPtr}{void* cobj,
- void (*destr)(void *)}
+ void (*destr)(void *)}
Creates a \ctype{PyCObject} from the \code{void *}\var{cobj}. The
\var{destr} function will be called when the object is reclaimed,
unless it is \NULL.
the generated byte-code; these are not automatically de-referenced
when accessed. Cell objects are not likely to be useful elsewhere.
+\begin{ctypedesc}{PyCellObject}
+ The C structure used for cell objects.
+\end{ctypedesc}
+
\begin{cvardesc}{PyTypeObject}{PyCell_Type}
The type object corresponding to cell objects
\end{cvardesc}