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 | 12 static PyObject *gen_close(PyGenObject *, PyObject *); 87 res = gen_close(gen, NULL); in _PyGen_Finalize() 303 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter() 351 gen_close(PyGenObject *gen, PyObject *args) in gen_close() function 723 {"close",(PyCFunction)gen_close, METH_NOARGS, close_doc}, 955 {"close",(PyCFunction)gen_close, METH_NOARGS, coro_close_doc}, 1046 return gen_close((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_close()
|