[Python-checkins] python/dist/src/Doc/api concrete.tex, 1.6.6.6, 1.6.6.7

aimacintyre at users.sourceforge.net aimacintyre at users.sourceforge.net
Thu Dec 25 19:00:34 EST 2003


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv20589
Modified Files:
 Tag: release22-maint
	concrete.tex 
Log Message:
backport of concrete.tex v1.35:
The semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
with most other concrete object checks, but the docs weren't brought into
line.
PyList_CheckExact() was added at 2.2 but never documented.
Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.6.6.6
retrieving revision 1.6.6.7
diff -C2 -d -r1.6.6.6 -r1.6.6.7
*** concrete.tex	22 Oct 2002 20:21:06 -0000	1.6.6.6
--- concrete.tex	26 Dec 2003 00:00:29 -0000	1.6.6.7
***************
*** 1603,1607 ****
 
 \begin{cfuncdesc}{int}{PyList_Check}{PyObject *p}
! Returns true if its argument is a \ctype{PyListObject}.
 \end{cfuncdesc}
 
--- 1603,1615 ----
 
 \begin{cfuncdesc}{int}{PyList_Check}{PyObject *p}
! Returns true if \var{p} is a list object or an instance of a
! subtype of the list type.
! \versionchanged[Allowed subtypes to be accepted]{2.2}
! \end{cfuncdesc}
! 
! \begin{cfuncdesc}{int}{PyList_CheckExact}{PyObject *p}
! Return true if \var{p} is a list object, but not an instance of a
! subtype of the list type.
! \versionadded{2.2}
 \end{cfuncdesc}
 
***************
*** 1721,1725 ****
 
 \begin{cfuncdesc}{int}{PyDict_Check}{PyObject *p}
! Returns true if its argument is a \ctype{PyDictObject}.
 \end{cfuncdesc}
 
--- 1729,1735 ----
 
 \begin{cfuncdesc}{int}{PyDict_Check}{PyObject *p}
! Returns true if \var{p} is a dict object or an instance of a
! subtype of the dict type.
! \versionchanged[Allowed subtypes to be accepted]{2.2}
 \end{cfuncdesc}
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /