Home
last modified time | relevance | path

Searched refs:PyContext_Type (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/
D_contextvarsmodule.c50 Py_INCREF(&PyContext_Type); in PyInit__contextvars()
52 (PyObject *)&PyContext_Type) < 0) in PyInit__contextvars()
54 Py_DECREF(&PyContext_Type); in PyInit__contextvars()
/external/python/cpython3/Include/
Dcontext.h10 PyAPI_DATA(PyTypeObject) PyContext_Type;
20 #define PyContext_CheckExact(o) (Py_TYPE(o) == &PyContext_Type)
/external/python/cpython3/Doc/c-api/
Dcontextvars.rst45 .. c:var:: PyTypeObject PyContext_Type
62 Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be
/external/python/cpython3/Python/
Dcontext.c332 ctx = PyObject_GC_New(PyContext, &PyContext_Type); in _context_alloc()
657 PyTypeObject PyContext_Type = { variable
1252 if ((PyType_Ready(&PyContext_Type) < 0) || in _PyContext_Init()