summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 04:20:33 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 04:20:33 (GMT)
commitd2ad5718ad955a13cf570bacad1d7800d995da33 (patch)
tree8701db861a6620fbb4cd000fd1932e5a0f8f6ffe /Doc
parent2eb819f7a82c7eb61f2d253894d9973f0ec21df2 (diff)
downloadcpython-d2ad5718ad955a13cf570bacad1d7800d995da33.zip
cpython-d2ad5718ad955a13cf570bacad1d7800d995da33.tar.gz
cpython-d2ad5718ad955a13cf570bacad1d7800d995da33.tar.bz2
Issue #25523: Further a-to-an corrections new in 3.5
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/argparse.rst2
-rw-r--r--Doc/reference/datamodel.rst4
-rw-r--r--Doc/whatsnew/3.5.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 03cad9f..2877437 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -530,7 +530,7 @@ allow_abbrev
^^^^^^^^^^^^
Normally, when you pass an argument list to the
-:meth:`~ArgumentParser.parse_args` method of a :class:`ArgumentParser`,
+:meth:`~ArgumentParser.parse_args` method of an :class:`ArgumentParser`,
it :ref:`recognizes abbreviations <prefix-matching>` of long options.
This feature can be disabled by setting ``allow_abbrev`` to ``False``::
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 3032dc8..764c491 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2358,7 +2358,7 @@ An *asynchronous iterable* is able to call asynchronous code in its
``__aiter__`` implementation, and an *asynchronous iterator* can call
asynchronous code in its ``__anext__`` method.
-Asynchronous iterators can be used in a :keyword:`async for` statement.
+Asynchronous iterators can be used in an :keyword:`async for` statement.
.. method:: object.__aiter__(self)
@@ -2393,7 +2393,7 @@ Asynchronous Context Managers
An *asynchronous context manager* is a *context manager* that is able to
suspend execution in its ``__aenter__`` and ``__aexit__`` methods.
-Asynchronous context managers can be used in a :keyword:`async with` statement.
+Asynchronous context managers can be used in an :keyword:`async with` statement.
.. method:: object.__aenter__(self)
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index c73d50b..29d76b1 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -465,7 +465,7 @@ not make an additional system call::
PEP 475: Retry system calls failing with EINTR
----------------------------------------------
-A :py:data:`errno.EINTR` error code is returned whenever a system call, that
+An :py:data:`errno.EINTR` error code is returned whenever a system call, that
is waiting for I/O, is interrupted by a signal. Previously, Python would
raise :exc:`InterruptedError` in such case. This meant that, when writing a
Python application, the developer had two choices: