Commit 5e62a085 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.23.x'

parents c02a14ee 77bb90df
...@@ -24,8 +24,8 @@ Other changes ...@@ -24,8 +24,8 @@ Other changes
Bugs fixed Bugs fixed
---------- ----------
* Misnamed coroutine property ``cr_yieldfrom`` changed to ``cr_await`` * Misnamed PEP 492 coroutine property ``cr_yieldfrom`` renamed to
to match CPython. ``cr_await`` to match CPython.
0.23 (2015-08-08) 0.23 (2015-08-08)
......
...@@ -1160,14 +1160,14 @@ static PyObject *__Pyx_Coroutine_compare(PyObject *obj, PyObject *other, int op) ...@@ -1160,14 +1160,14 @@ static PyObject *__Pyx_Coroutine_compare(PyObject *obj, PyObject *other, int op)
static PyMethodDef __pyx_Coroutine_methods[] = { static PyMethodDef __pyx_Coroutine_methods[] = {
{"send", (PyCFunction) __Pyx_Coroutine_Send, METH_O, {"send", (PyCFunction) __Pyx_Coroutine_Send, METH_O,
(char*) PyDoc_STR("send(arg) -> send 'arg' into coroutine,\nreturn next yielded value or raise StopIteration.")}, (char*) PyDoc_STR("send(arg) -> send 'arg' into coroutine,\nreturn next iterated value or raise StopIteration.")},
{"throw", (PyCFunction) __Pyx_Coroutine_Throw, METH_VARARGS, {"throw", (PyCFunction) __Pyx_Coroutine_Throw, METH_VARARGS,
(char*) PyDoc_STR("throw(typ[,val[,tb]]) -> raise exception in coroutine,\nreturn next yielded value or raise StopIteration.")}, (char*) PyDoc_STR("throw(typ[,val[,tb]]) -> raise exception in coroutine,\nreturn next iterated value or raise StopIteration.")},
{"close", (PyCFunction) __Pyx_Coroutine_Close, METH_NOARGS, {"close", (PyCFunction) __Pyx_Coroutine_Close, METH_NOARGS,
(char*) PyDoc_STR("close() -> raise GeneratorExit inside coroutine.")}, (char*) PyDoc_STR("close() -> raise GeneratorExit inside coroutine.")},
#if PY_VERSION_HEX < 0x030500B1 #if PY_VERSION_HEX < 0x030500B1
{"__await__", (PyCFunction) __Pyx_Coroutine_await, METH_NOARGS, {"__await__", (PyCFunction) __Pyx_Coroutine_await, METH_NOARGS,
(char*) PyDoc_STR("")}, (char*) PyDoc_STR("__await__() -> return an iterator to be used in await expression.")},
#endif #endif
{0, 0, 0, 0} {0, 0, 0, 0}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment