From 186b204997166932fec475ed08bcb324ae102a30 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 10 Dec 2016 05:32:55 +0000 Subject: [PATCH] Fix typos in comment and documentation --- Doc/library/re.rst | 2 +- Objects/abstract.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index a298d97c9c3..7ef4cbeee79 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 f9afece815b..d838856d452 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)