Searched refs:PyGen_Type (Results 1 – 14 of 14) 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_IS_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 :c:type:`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 | 727 PyTypeObject PyGen_Type = { variable 816 return gen_new_with_qualname(&PyGen_Type, f, name, qualname); in PyGen_NewWithQualName() 822 return gen_new_with_qualname(&PyGen_Type, f, NULL, NULL); in PyGen_New()
|
D | object.c | 1796 INIT_TYPE(&PyGen_Type, "generator"); in _PyTypes_Init()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 352 "PyGen_Type"
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 853 Objects/genobject.c:PyGen_Type PyTypeObject PyGen_Type
|
D | known.tsv | 989 Objects/genobject.c - PyGen_Type variable PyTypeObject PyGen_Type
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 2925 res = PyObject_IsInstance(result, (PyObject*)&PyGen_Type); in task_step_impl()
|
D | _testcapimodule.c | 4793 if (!PyArg_ParseTuple(args, "O!", &PyGen_Type, &gen)) in raise_SIGINT_then_send_None()
|
/external/python/cpython3/Python/ |
D | compile.c | 3983 return &PyGen_Type; in infer_type()
|