]> granicus.if.org Git - python/commitdiff
Issue #28493: Fix typos in _asynciomodule.c
authorYury Selivanov <yury@magic.io>
Thu, 20 Oct 2016 20:33:19 +0000 (16:33 -0400)
committerYury Selivanov <yury@magic.io>
Thu, 20 Oct 2016 20:33:19 +0000 (16:33 -0400)
Thanks to Stéphane Wirtel!

Modules/_asynciomodule.c

index d9fe63d320a5716cce722cd6217233b62c782e30..37298cc46492a2108372b50b1acfdbdef2244acd 100644 (file)
@@ -789,11 +789,11 @@ FutureIter_iternext(futureiterobject *it)
     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.