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: "a(n) the", "the a(n)" typos
Type: Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Arfrever, docs@python, karan, python-dev, r.david.murray
Priority: normal Keywords: easy, patch

Created on 2015-01-11 01:39 by Arfrever, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue23221.patch karan, 2015-01-12 10:10 review
Messages (4)
msg233829 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2015-01-11 01:39
In default branch:

$ grep -Er '(^|[[:space:]])an? the($|[[:space:]])' *
Doc/c-api/structures.rst::c:type:`PyObject\*`, it is common that the method implementation uses a the
Include/dynamic_annotations.h:     is about to be reused, or when a the locking discipline for a variable
Include/unicodeobject.h:/* Initializes the canonical string representation from a the deprecated
Lib/lib2to3/fixes/fix_exitfunc.py:        # First, find a the sys import. We'll just hope it's global scope.
Lib/socket.py:        Create a socket object from a the bytes object returned by
Lib/http/cookiejar.py:    """Return string representation of Cookie in an the LWP cookie file format.
Modules/_ctypes/_ctypes.c:       A Pointer instance must keep a the value it points to alive.  So, a

$ grep -Er '(^|[[:space:]])the an?($|[[:space:]])' *
Doc/library/unittest.mock.rst:being looked up on the a module and so we have to patch ``a.SomeClass`` instead::
Doc/c-api/init.rst:   Return the a pointer to the first :c:type:`PyThreadState` object in the list of
Doc/c-api/exceptions.rst:      case of a class exception, or it may the a subclass of the expected exception.)
Doc/distutils/apiref.rst:   *base_dir* is just the a name of a directory which doesn't necessarily exist
Lib/test/test_argparse.py:    """Tests the an optional action that is required"""
Lib/ssl.py:        """Return the a list of ciphers shared by the client during the
Lib/distutils/dir_util.py:    'base_dir' is just the a name of a directory which doesn't necessarily

'the a module' in Doc/library/unittest.mock.rst probably should be 'the ``a`` module'.
'may the a' in Doc/c-api/exceptions.rst should be 'may be a'.
msg233878 - (view) Author: Karan Goel (karan) * Date: 2015-01-12 09:54
Hey I'll be working on this and submitting a patch.
msg233879 - (view) Author: Karan Goel (karan) * Date: 2015-01-12 10:10
There we go. I fixed all the reported typos using the best of my knowledge.
msg233938 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-01-13 14:20
New changeset b168c41f2e3f by Benjamin Peterson in branch '3.4':
fix instances of consecutive articles (closes #23221)
https://hg.python.org/cpython/rev/b168c41f2e3f

New changeset 6a19e37ce94d by Benjamin Peterson in branch '2.7':
fix instances of consecutive articles (closes #23221)
https://hg.python.org/cpython/rev/6a19e37ce94d

New changeset c16b76c7c8ba by Benjamin Peterson in branch 'default':
merge 3.4 (#23221)
https://hg.python.org/cpython/rev/c16b76c7c8ba
History
Date User Action Args
2022-04-11 14:58:11adminsetgithub: 67410
2015-01-13 14:20:46python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg233938

resolution: fixed
stage: needs patch -> resolved
2015-01-12 10:10:52karansetfiles: + issue23221.patch
keywords: + patch
messages: + msg233879
2015-01-12 09:54:38karansetnosy: + karan
messages: + msg233878
2015-01-11 07:05:15serhiy.storchakasetnosy: + docs@python, r.david.murray

assignee: docs@python
components: + Documentation
stage: needs patch
2015-01-11 01:39:20Arfrevercreate