[Python-checkins] python/dist/src/Doc/api abstract.tex, 1.35, 1.35.2.1
nnorwitz@users.sourceforge.net
nnorwitz at users.sourceforge.net
Wed Oct 12 06:00:00 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19923/Doc/api
Modified Files:
Tag: release24-maint
abstract.tex
Log Message:
Backport: SF bug #1323739, C API doc for PySequence_Tuple duplicated
Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.35
retrieving revision 1.35.2.1
diff -u -d -r1.35 -r1.35.2.1
--- abstract.tex 7 Aug 2004 17:53:05 -0000 1.35
+++ abstract.tex 12 Oct 2005 03:59:56 -0000 1.35.2.1
@@ -778,12 +778,6 @@
the Python statement \samp{del \var{o}[\var{i1}:\var{i2}]}.
\end{cfuncdesc}
-\begin{cfuncdesc}{PyObject*}{PySequence_Tuple}{PyObject *o}
- Returns the \var{o} as a tuple on success, and \NULL{} on failure.
- This is equivalent to the Python expression \samp{tuple(\var{o})}.
- \bifuncindex{tuple}
-\end{cfuncdesc}
-
\begin{cfuncdesc}{int}{PySequence_Count}{PyObject *o, PyObject *value}
Return the number of occurrences of \var{value} in \var{o}, that is,
return the number of keys for which \code{\var{o}[\var{key}] ==
@@ -811,9 +805,11 @@
\begin{cfuncdesc}{PyObject*}{PySequence_Tuple}{PyObject *o}
Return a tuple object with the same contents as the arbitrary
- sequence \var{o}. If \var{o} is a tuple, a new reference will be
- returned, otherwise a tuple will be constructed with the appropriate
- contents.
+ sequence \var{o} or \NULL{} on failure. If \var{o} is a tuple,
+ a new reference will be returned, otherwise a tuple will be
+ constructed with the appropriate contents. This is equivalent
+ to the Python expression \samp{tuple(\var{o})}.
+ \bifuncindex{tuple}
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PySequence_Fast}{PyObject *o, const char *m}
More information about the Python-checkins
mailing list