]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos in comment and documentation
authorMartin Panter <vadmium+py@gmail.com>
Sat, 10 Dec 2016 05:32:55 +0000 (05:32 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 10 Dec 2016 05:32:55 +0000 (05:32 +0000)
Doc/library/re.rst
Objects/abstract.c

index a298d97c9c391a2a717e0c9e4d9685822fedb4ca..7ef4cbeee799eae2b9cd07f7ca563b7144839a1b 100644 (file)
@@ -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.
 
 
index f9afece815b15d6c2822ee457e78b47d07d76264..d838856d452872e714c5472c6b95303c43c1862a 100644 (file)
@@ -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)