File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1876,13 +1876,17 @@ \section{Sequence Protocol \label{sequence}}
18761876\code {0} otherwise. This function always succeeds.
18771877\end {cfuncdesc }
18781878
1879- \begin {cfuncdesc }{int}{PySequence_Length }{PyObject *o}
1879+ \begin {cfuncdesc }{int}{PySequence_Size }{PyObject *o}
18801880Returns the number of objects in sequence \var {o} on success, and
18811881\code {-1} on failure. For objects that do not provide sequence
18821882protocol, this is equivalent to the Python expression
18831883\samp {len(\var {o})}.\bifuncindex {len}
18841884\end {cfuncdesc }
18851885
1886+ \begin {cfuncdesc }{int}{PySequence_Length}{PyObject *o}
1887+ Alternate name for \cfunction {PySequence_Size()}.
1888+ \end {cfuncdesc }
1889+
18861890\begin {cfuncdesc }{PyObject*}{PySequence_Concat}{PyObject *o1, PyObject *o2}
18871891Return the concatenation of \var {o1} and \var {o2} on success, and \NULL {} on
18881892failure. This is the equivalent of the Python
You can’t perform that action at this time.
0 commit comments