[Python-checkins] python/dist/src/Doc/api concrete.tex, 1.25.10.5,
1.25.10.6
aimacintyre at users.sourceforge.net
aimacintyre at users.sourceforge.net
Fri Feb 20 06:58:30 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29285
Modified Files:
Tag: release23-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.25.10.5
retrieving revision 1.25.10.6
diff -C2 -d -r1.25.10.5 -r1.25.10.6
*** concrete.tex 9 Feb 2004 10:44:00 -0000 1.25.10.5
--- concrete.tex 20 Feb 2004 11:58:27 -0000 1.25.10.6
***************
*** 1659,1663 ****
\begin{cfuncdesc}{int}{PyList_Check}{PyObject *p}
! Returns true if its argument is a \ctype{PyListObject}.
\end{cfuncdesc}
--- 1659,1671 ----
\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}
***************
*** 1779,1783 ****
\begin{cfuncdesc}{int}{PyDict_Check}{PyObject *p}
! Returns true if its argument is a \ctype{PyDictObject}.
\end{cfuncdesc}
--- 1787,1793 ----
\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