From: Martin Panter Date: Sat, 10 Dec 2016 05:32:55 +0000 (+0000) Subject: Fix typos in comment and documentation X-Git-Tag: v3.6.1rc1~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=186b204997166932fec475ed08bcb324ae102a30;p=thirdparty%2FPython%2Fcpython.git Fix typos in comment and documentation --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index a298d97c9c39..7ef4cbeee799 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 f9afece815b1..d838856d4528 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)