[Python-checkins] python/dist/src/Doc/api api.tex,1.117.2.13,1.117.2.14

fdrake@sourceforge.net fdrake@sourceforge.net
Wed, 10 Apr 2002 11:16:37 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv20217/api

Modified Files:
      Tag: release21-maint
	api.tex 
Log Message:
Document PyType_IS_GC().
Update description of PyType_Check().


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.117.2.13
retrieving revision 1.117.2.14
diff -C2 -d -r1.117.2.13 -r1.117.2.14
*** api.tex	4 Apr 2002 04:21:23 -0000	1.117.2.13
--- api.tex	10 Apr 2002 18:16:32 -0000	1.117.2.14
***************
*** 2193,2197 ****
  
  \begin{cfuncdesc}{int}{PyType_Check}{PyObject *o}
! Returns true is the object \var{o} is a type object.
  \end{cfuncdesc}
  
--- 2193,2199 ----
  
  \begin{cfuncdesc}{int}{PyType_Check}{PyObject *o}
! Returns true if the object \var{o} is a type object, including
! instances of types derived from the standard type object.  Returns
! false in all other cases.
  \end{cfuncdesc}
  
***************
*** 2199,2202 ****
--- 2201,2210 ----
  Returns true if the type object \var{o} sets the feature
  \var{feature}.  Type features are denoted by single bit flags.
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{int}{PyType_IS_GC}{PyObject *o}
+ Return true if the type object includes support for the cycle
+ detector; this tests the type flag \constant{Py_TPFLAGS_HAVE_GC}.
+ \versionadded{2.0}
  \end{cfuncdesc}