[Python-checkins] python/dist/src/Doc/api abstract.tex,1.24,1.25
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 09 Apr 2003 11:16:01 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv26979
Modified Files:
abstract.tex
Log Message:
Minor markup adjustments.
Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** abstract.tex 9 Apr 2003 18:02:23 -0000 1.24
--- abstract.tex 9 Apr 2003 18:15:57 -0000 1.25
***************
*** 319,329 ****
the object type of object \var{o}. On failure, raises
\exception{SystemError} and returns \NULL. This is equivalent to
! the Python expression \code{type(\var{o})}.
This function increments the reference count of the return value.
There's really no reason to use this function instead of the
common expression \code{\var{o}->ob_type}, which returns a pointer
! of type \code{PyTypeObject *}, except when the incremented reference
count is needed.
- \bifuncindex{type}
\end{cfuncdesc}
--- 319,328 ----
the object type of object \var{o}. On failure, raises
\exception{SystemError} and returns \NULL. This is equivalent to
! the Python expression \code{type(\var{o})}.\bifuncindex{type}
This function increments the reference count of the return value.
There's really no reason to use this function instead of the
common expression \code{\var{o}->ob_type}, which returns a pointer
! of type \ctype{PyTypeObject*}, except when the incremented reference
count is needed.
\end{cfuncdesc}