[Python-checkins] CVS: python/dist/src/Doc/api concrete.tex,1.5,1.6
Fred L. Drake
fdrake@users.sourceforge.net
2001年12月11日 11:40:18 -0800
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv19699/api
Modified Files:
concrete.tex
Log Message:
A number of small adjustments.
Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** concrete.tex 2001年12月11日 18:51:08 1.5
--- concrete.tex 2001年12月11日 19:40:16 1.6
***************
*** 1371,1375 ****
More information on the buffer interface is provided in the section
! ``Buffer Object Structures'' (section \ref{buffer-structs}), under
the description for \ctype{PyBufferProcs}\ttindex{PyBufferProcs}.
--- 1371,1375 ----
More information on the buffer interface is provided in the section
! ``Buffer Object Structures'' (section~\ref{buffer-structs}), under
the description for \ctype{PyBufferProcs}\ttindex{PyBufferProcs}.
***************
*** 1858,1861 ****
--- 1858,1862 ----
\end{cfuncdesc}
+
\section{Other Objects \label{otherObjects}}
***************
*** 2189,2194 ****
\subsection{Descriptor Objects \label{descriptor-objects}}
\begin{cvardesc}{PyTypeObject}{PyProperty_Type}
! The type object for a descriptor.
\versionadded{2.2}
\end{cvardesc}
--- 2190,2198 ----
\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 the built-in descriptor types.
\versionadded{2.2}
\end{cvardesc}
***************
*** 2324,2328 ****
\obindex{CObject}
Refer to \emph{Extending and Embedding the Python Interpreter},
! section 1.12 (``Providing a C API for an Extension Module), for more
information on using these objects.
--- 2328,2332 ----
\obindex{CObject}
Refer to \emph{Extending and Embedding the Python Interpreter},
! section~1.12, ``Providing a C API for an Extension Module,'' for more
information on using these objects.
***************
*** 2342,2346 ****
\begin{cfuncdesc}{PyObject*}{PyCObject_FromVoidPtr}{void* cobj,
! 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,
--- 2346,2350 ----
\begin{cfuncdesc}{PyObject*}{PyCObject_FromVoidPtr}{void* cobj,
! 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,
***************
*** 2378,2381 ****
--- 2382,2389 ----
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}