diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2020-02-13 17:37:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 17:37:17 (GMT) |
commit | d905df766c367c350f20c46ccd99d4da19ed57d8 (patch) | |
tree | 9e08a6c88d6b0dd4e73810c3f3a152b61bd773aa /Objects | |
parent | 968dcd9e7a4d3aa9aaa1dfca693adf60d6b71ce7 (diff) | |
download | cpython-d905df766c367c350f20c46ccd99d4da19ed57d8.zip cpython-d905df766c367c350f20c46ccd99d4da19ed57d8.tar.gz cpython-d905df766c367c350f20c46ccd99d4da19ed57d8.tar.bz2 |
bpo-39573: Add Py_IS_TYPE() function (GH-18488)
Co-Author: Neil Schemenauer <nas-github@arctrix.com>
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/genobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index 0efd57d..0837698 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -255,7 +255,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) if (PyCoro_CheckExact(gen)) { msg = "coroutine raised StopIteration"; } - else if PyAsyncGen_CheckExact(gen) { + else if (PyAsyncGen_CheckExact(gen)) { msg = "async generator raised StopIteration"; } _PyErr_FormatFromCause(PyExc_RuntimeError, "%s", msg); |