New submission from 杨昆仑 <yangkun...@gmail.com>:

The document of this function (PyList_GetItem()) says: "Return the object at 
position index in the list pointed to by list. The position must be 
**positive**,". However test shows the correct position index should be from 0 
to len(list)-1. The claim of index **must be positive** is inaccurate and 
confusing.

----------
assignee: docs@python
components: Documentation
messages: 347144
nosy: docs@python, 杨昆仑
priority: normal
severity: normal
status: open
title: PyList_GetItem() document regarding index
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37487>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to