bpo-32500: Correct the documentation for PySequence_Size() and PySequ… · python/cpython@7a1e178

Original file line numberDiff line numberDiff line change

@@ -17,9 +17,8 @@ Sequence Protocol

1717
1818

.. index:: builtin: len

1919
20-

Returns the number of objects in sequence *o* on success, and ``-1`` on failure.

21-

For objects that do not provide sequence protocol, this is equivalent to the

22-

Python expression ``len(o)``.

20+

Returns the number of objects in sequence *o* on success, and ``-1`` on

21+

failure. This is equivalent to the Python expression ``len(o)``.

2322
2423
2524

.. c:function:: PyObject* PySequence_Concat(PyObject *o1, PyObject *o2)