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: More typo fixes
Type: enhancement Stage: resolved
Components: Versions: Python 3.6, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: martin.panter, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2016-04-16 12:49 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
typos.patch serhiy.storchaka, 2016-04-16 12:52 review
an-consonant.patch martin.panter, 2016-04-16 14:07 review
typos2.patch serhiy.storchaka, 2016-04-16 14:35 review
Messages (5)
msg263552 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-04-16 12:49
Proposed patch fixes a number of typos (mainly about misusing "a/an") in the docs, docstrings, comments and error messages.
msg263555 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-04-16 14:07
Should exception messages be corrected in old versions, or just 3.6?

Apart from the few changes with comments, the rest look good to me.

I found some more cases (my patch is independent of Serhiy’s).
msg263560 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-04-16 14:35
Thank you all for your reviews. Martin's patch LGTM.

I agree that it would be safer to not change error messages in bugfix releases. Here is consolidated patch with fixed errors.
msg263594 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-04-17 00:21
I think there are two outstanding problems; see Lib/tkinter/tix.py and Misc/HISTORY.
msg263600 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-04-17 06:40
New changeset 395dd5630e6c by Serhiy Storchaka in branch '3.5':
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
https://hg.python.org/cpython/rev/395dd5630e6c

New changeset bbcde8db4dc4 by Serhiy Storchaka in branch '2.7':
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
https://hg.python.org/cpython/rev/bbcde8db4dc4

New changeset 932b330e22d8 by Serhiy Storchaka in branch 'default':
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
https://hg.python.org/cpython/rev/932b330e22d8
History
Date User Action Args
2022-04-11 14:58:29adminsetgithub: 70965
2016-04-17 06:41:00serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2016-04-17 06:40:17python-devsetnosy: + python-dev
messages: + msg263600
2016-04-17 00:21:47martin.pantersetmessages: + msg263594
2016-04-16 14:35:40serhiy.storchakasetfiles: + typos2.patch

messages: + msg263560
2016-04-16 14:07:35martin.pantersetfiles: + an-consonant.patch

messages: + msg263555
2016-04-16 12:52:21serhiy.storchakasetfiles: + typos.patch
2016-04-16 12:52:11serhiy.storchakasetfiles: - typos.patch
2016-04-16 12:49:34serhiy.storchakacreate