[Python-checkins] cpython (3.6): Issue #28493: Fix typos in _asynciomodule.c

yury.selivanov python-checkins at python.org
Thu Oct 20 16:33:43 EDT 2016


https://hg.python.org/cpython/rev/03528baa8c2c
changeset:   104592:03528baa8c2c
branch:      3.6
parent:      104590:761414979de5
user:        Yury Selivanov <yury at magic.io>
date:        Thu Oct 20 16:33:19 2016 -0400
summary:
  Issue #28493: Fix typos in _asynciomodule.c

Thanks to Stéphane Wirtel!

files:
  Modules/_asynciomodule.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -789,11 +789,11 @@
     if (res != NULL) {
         /* The result of the Future is not an exception.
 
-           We cunstruct an exception instance manually with
+           We construct an exception instance manually with
            PyObject_CallFunctionObjArgs and pass it to PyErr_SetObject
            (similarly to what genobject.c does).
 
-           This is to handle a situation when "res" is a tuple, in which
+           We do this to handle a situation when "res" is a tuple, in which
            case PyErr_SetObject would set the value of StopIteration to
            the first element of the tuple.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list