summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-12-10 05:32:55 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-12-10 05:32:55 +0000
commit186b204997166932fec475ed08bcb324ae102a30 (patch)
tree57ab07d7fe60bf47bd253fdf3d154bd5c3044f30
parentb7880b067bf06478ab6199e32afe7519c0546851 (diff)
downloadcpython-git-186b204997166932fec475ed08bcb324ae102a30.tar.gz
Fix typos in comment and documentation
-rw-r--r--Doc/library/re.rst2
-rw-r--r--Objects/abstract.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index a298d97c9c..7ef4cbeee7 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -762,7 +762,7 @@ form.
now are errors.
.. deprecated-removed:: 3.5 3.7
- Unknown escapes in *repl* consist of ``'\'`` and ASCII letter now raise
+ Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter now raise
a deprecation warning and will be forbidden in Python 3.7.
diff --git a/Objects/abstract.c b/Objects/abstract.c
index f9afece815..d838856d45 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2325,7 +2325,7 @@ exit:
return result;
}
-/* Positional arguments are obj followed args. */
+/* Positional arguments are obj followed by args. */
PyObject *
_PyObject_Call_Prepend(PyObject *func,
PyObject *obj, PyObject *args, PyObject *kwargs)