Searched refs:gen_close (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | genobject.c | 129 gen_close(PyGenObject *gen, PyObject *args) in gen_close() function 168 res = gen_close(gen, NULL); in gen_del() 327 {"close",(PyCFunction)gen_close, METH_NOARGS, close_doc},
|
/external/python/cpython3/Objects/ |
D | genobject.c | 9 static PyObject *gen_close(PyGenObject *, PyObject *); 84 res = gen_close(gen, NULL); in _PyGen_Finalize() 309 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter() 357 gen_close(PyGenObject *gen, PyObject *args) in gen_close() function 719 {"close",(PyCFunction)gen_close, METH_NOARGS, close_doc}, 970 {"close",(PyCFunction)gen_close, METH_NOARGS, coro_close_doc}, 1062 return gen_close((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_close()
|