Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Doc/c-api/sequence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ Sequence Protocol

.. index:: builtin: len

Returns the number of objects in sequence *o* on success, and ``-1`` on failure.
For objects that do not provide sequence protocol, this is equivalent to the
Python expression ``len(o)``.
Returns the number of objects in sequence *o* on success, and ``-1`` on
failure. This is equivalent to the Python expression ``len(o)``.

.. versionchanged:: 2.5
These functions returned an :c:type:`int` type. This might require
Expand Down