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: Small typo in plistlib docs
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: docs@python Nosy List: cwee, docs@python, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-08-02 19:06 by cwee, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg299668 - (view) Author: (cwee) Date: 2017-08-02 19:06
Starting with 3.4, the docs for plistlib have had a typo:
https://docs.python.org/3.4/library/plistlib.html#plistlib.readPlist
https://docs.python.org/3.5/library/plistlib.html#plistlib.readPlist
https://docs.python.org/3.6/library/plistlib.html#plistlib.readPlist
https://docs.python.org/3.7/library/plistlib.html#plistlib.readPlist

Functions `readPlist` and `readPlistFromBytes` reference the `__getitem_` method, which should be `__getitem__`.

I'd be happy to submit a PR if there's a repo for the site's documentation.
msg299684 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-08-03 06:06
https://github.com/python/cpython
msg299685 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-08-03 06:11
3.4 and 3.5 can take only security fixes. Create a PR for the master branch. After merging it the changes can be cherry-picked into the 3.6 branch. See details in Python Developer’s Guide (https://docs.python.org/devguide/).
msg299710 - (view) Author: (cwee) Date: 2017-08-03 14:43
Just noticed the note was removed in commit edef358ed6d in the latest 3.7 docs. Closing issue.

Thanks for the intro on how to contribute though!
History
Date User Action Args
2022-04-11 14:58:49adminsetgithub: 75293
2017-08-03 14:43:54cweesetstatus: open -> closed
resolution: out of date
messages: + msg299710

stage: needs patch -> resolved
2017-08-03 06:11:50serhiy.storchakasetstage: needs patch
messages: + msg299685
versions: - Python 3.4, Python 3.5
2017-08-03 06:06:59serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg299684
2017-08-02 19:06:01cweecreate