This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in PyList_New doc.
Type: Stage: patch review
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eli.bendersky, ezio.melotti, georg.brandl, methane, pitrou, rhettinger
Priority: low Keywords: patch

Created on 2010-12-01 03:31 by methane, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue10594.py32.1.patch eli.bendersky, 2010-12-01 03:46
Messages (8)
msg122974 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-01 03:31
http://docs.python.org/c-api/list.html#PyList_New
> Note: If length is greater than zero, ...

s/length/len/
msg122975 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-01 03:34
http://docs.python.org/c-api/list.html#PyList_GetItem
> Return the object at position pos in the list pointed to by p
s/p/list/
msg122976 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-01 03:34
http://docs.python.org/c-api/list.html#PyList_GetItem
> Return the object at position pos in the list pointed to by p
s/pos/index/
msg122978 - (view) Author: Eli Bendersky (eli.bendersky) * (Python committer) Date: 2010-12-01 03:46
Thanks for the report,

Attaching a patch for Doc/c-api/list.rst in Python 3.2
If this is OK, I can backport the patch to other versions as well.
msg122981 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2010-12-01 04:21
OK, please.

On Wed, Dec 1, 2010 at 12:46 PM, Eli Bendersky <report@bugs.python.org> wrote:
>
> Eli Bendersky <eliben@gmail.com> added the comment:
>
> Thanks for the report,
>
> Attaching a patch for Doc/c-api/list.rst in Python 3.2
> If this is OK, I can backport the patch to other versions as well.
>
> ----------
> keywords: +patch
> nosy: +eli.bendersky
> Added file: http://bugs.python.org/file19889/issue10594.py32.1.patch
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue10594>
> _______________________________________
>
msg122984 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2010-12-01 05:25
This is fine.  Go ahead and backport if you feel so inclined.
msg122988 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-12-01 10:08
You don't need to backport, we'll do it ourselves. Can someone from the doc team please review/commit?
msg122997 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-12-01 15:36
Thanks, fixed in r86914.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54803
2010-12-01 15:36:48georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg122997

resolution: accepted -> fixed
2010-12-01 10:08:07pitrousetnosy: + pitrou
messages: + msg122988

assignee: eli.bendersky -> docs@python
stage: patch review
2010-12-01 05:25:02rhettingersetpriority: normal -> low

assignee: docs@python -> eli.bendersky
versions: - Python 2.6
nosy: + rhettinger

messages: + msg122984
resolution: accepted
2010-12-01 04:21:46methanesetmessages: + msg122981
2010-12-01 03:46:58eli.benderskysetfiles: + issue10594.py32.1.patch

nosy: + eli.bendersky
messages: + msg122978

keywords: + patch
2010-12-01 03:40:05ezio.melottisetnosy: + ezio.melotti
2010-12-01 03:34:59methanesetmessages: + msg122976
2010-12-01 03:34:12methanesetmessages: + msg122975
2010-12-01 03:31:18methanecreate