Searched refs:PyGen_Type (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Include/ |
D | genobject.h | 29 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/ |
D | genobject.h | 36 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/ |
D | gen.rst | 18 .. 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/ |
D | gen.rst | 18 .. c:var:: PyTypeObject PyGen_Type 30 Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*.
|
/external/python/cpython2/Objects/ |
D | genobject.c | 331 PyTypeObject PyGen_Type = { variable 385 PyGenObject *gen = PyObject_GC_New(PyGenObject, &PyGen_Type); in PyGen_New()
|
D | object.c | 2191 if (PyType_Ready(&PyGen_Type) < 0) in _Py_ReadyTypes()
|
/external/python/cpython3/Objects/ |
D | genobject.c | 723 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()
|
D | object.c | 1870 if (PyType_Ready(&PyGen_Type) < 0) in _Py_ReadyTypes()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 352 "PyGen_Type"
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 4335 if (!PyArg_ParseTuple(args, "O!", &PyGen_Type, &gen)) in raise_SIGINT_then_send_None()
|