summaryrefslogtreecommitdiffstats
path: root/Doc/library/re.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-12 06:17:29 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-12 06:17:29 (GMT)
commit98e9051577dd8dca01ccd0df021e8901cbe98965 (patch)
tree6301c8de3c7cca27e4f57360149642e8253dc427 /Doc/library/re.rst
parentaea671efc61e89c93be8d0a6866bd4ee3ff7d058 (diff)
downloadcpython-98e9051577dd8dca01ccd0df021e8901cbe98965.zip
cpython-98e9051577dd8dca01ccd0df021e8901cbe98965.tar.gz
cpython-98e9051577dd8dca01ccd0df021e8901cbe98965.tar.bz2
Add grammatical article to “an ASCII letter”
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r--Doc/library/re.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 337365c..dfbedd4 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -321,7 +321,7 @@ The special characters are:
The special sequences consist of ``'\'`` and a character from the list below.
-If the ordinary character is not ASCII digit or ASCII letter, then the
+If the ordinary character is not an ASCII digit or an ASCII letter, then the
resulting RE will match the second character. For example, ``\$`` matches the
character ``'$'``.
@@ -444,7 +444,7 @@ three digits in length.
The ``'\u'`` and ``'\U'`` escape sequences have been added.
.. versionchanged:: 3.6
- Unknown escapes consisting of ``'\'`` and ASCII letter now are errors.
+ Unknown escapes consisting of ``'\'`` and an ASCII letter now are errors.
.. seealso::
@@ -743,7 +743,7 @@ form.
Unmatched groups are replaced with an empty string.
.. versionchanged:: 3.6
- Unknown escapes consisting of ``'\'`` and ASCII letter now are errors.
+ Unknown escapes consisting of ``'\'`` and an ASCII letter now are errors.
.. function:: subn(pattern, repl, string, count=0, flags=0)