Home
last modified time | relevance | path

Searched refs:PyGen_Type (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Include/
Dgenobject.h29 PyAPI_DATA(PyTypeObject) PyGen_Type;
31 #define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)
32 #define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type)
/external/python/cpython3/Include/
Dgenobject.h36 PyAPI_DATA(PyTypeObject) PyGen_Type;
38 #define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)
39 #define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type)
/external/python/cpython2/Doc/c-api/
Dgen.rst18 .. c:var:: PyTypeObject PyGen_Type
30 Return true if *ob*'s type is *PyGen_Type* is a generator object; *ob* must not
/external/python/cpython3/Doc/c-api/
Dgen.rst18 .. c:var:: PyTypeObject PyGen_Type
30 Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*.
/external/python/cpython2/Objects/
Dgenobject.c331 PyTypeObject PyGen_Type = { variable
385 PyGenObject *gen = PyObject_GC_New(PyGenObject, &PyGen_Type); in PyGen_New()
Dobject.c2191 if (PyType_Ready(&PyGen_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython3/Objects/
Dgenobject.c723 PyTypeObject PyGen_Type = { variable
813 return gen_new_with_qualname(&PyGen_Type, f, name, qualname); in PyGen_NewWithQualName()
819 return gen_new_with_qualname(&PyGen_Type, f, NULL, NULL); in PyGen_New()
Dobject.c1870 if (PyType_Ready(&PyGen_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython2/PC/os2emx/
Dpython27.def352 "PyGen_Type"
/external/python/cpython3/Modules/
D_testcapimodule.c4335 if (!PyArg_ParseTuple(args, "O!", &PyGen_Type, &gen)) in raise_SIGINT_then_send_None()