[Python-checkins] cpython (merge 3.6 -> default): Merge 3.6 (issue #28493)

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


https://hg.python.org/cpython/rev/74eb9c51d64e
changeset:   104593:74eb9c51d64e
parent:      104591:3821599fc74d
parent:      104592:03528baa8c2c
user:        Yury Selivanov <yury at magic.io>
date:        Thu Oct 20 16:33:39 2016 -0400
summary:
  Merge 3.6 (issue #28493)

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