File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ List Objects
3737
3838 .. note::
3939
40- If *length * is greater than zero, the returned list object's items are
40+ If *len * is greater than zero, the returned list object's items are
4141 set to ``NULL``. Thus you cannot use abstract API functions such as
4242 :c:func:`PySequence_SetItem` or expose the object to Python code before
4343 setting all items to a real object with :c:func:`PyList_SetItem`.
@@ -58,9 +58,9 @@ List Objects
5858
5959.. c :function :: PyObject* PyList_GetItem (PyObject *list, Py_ssize_t index)
6060
61- Return the object at position *pos * in the list pointed to by *p *. The
61+ Return the object at position *index * in the list pointed to by *list *. The
6262 position must be positive, indexing from the end of the list is not
63- supported. If *pos * is out of bounds, return *NULL * and set an
63+ supported. If *index * is out of bounds, return *NULL * and set an
6464 :exc: `IndexError ` exception.
6565
6666
You can’t perform that action at this time.
0 commit comments