mirror of https://github.com/python/cpython
Fix small factual error.
This commit is contained in:
parent
71745802ec
commit
4cd5a08d8b
|
@ -342,7 +342,7 @@ determination.
|
|||
\begin{cfuncdesc}{int}{PyObject_Length}{PyObject *o}
|
||||
\cfuncline{int}{PyObject_Size}{PyObject *o}
|
||||
Return the length of object \var{o}. If the object \var{o} provides
|
||||
both sequence and mapping protocols, the sequence length is
|
||||
either the sequence and mapping protocols, the sequence length is
|
||||
returned. On error, \code{-1} is returned. This is the equivalent
|
||||
to the Python expression \samp{len(\var{o})}.\bifuncindex{len}
|
||||
\end{cfuncdesc}
|
||||
|
|
Loading…
Reference in New Issue