Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_contextvarsmodule.c58 Py_INCREF(&PyContextVar_Type); in PyInit__contextvars()
60 (PyObject *)&PyContextVar_Type) < 0) in PyInit__contextvars()
62 Py_DECREF(&PyContextVar_Type); in PyInit__contextvars()
/external/python/cpython3/Include/
Dcontext.h13 PyAPI_DATA(PyTypeObject) PyContextVar_Type;
21 #define PyContextVar_CheckExact(o) (Py_TYPE(o) == &PyContextVar_Type)
/external/python/cpython3/Doc/c-api/
Dcontextvars.rst49 .. c:var:: PyTypeObject PyContextVar_Type
67 Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be
/external/python/cpython3/Python/
Dcontext.c768 PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type); in contextvar_new()
996 PyTypeObject PyContextVar_Type = { variable
1253 (PyType_Ready(&PyContextVar_Type) < 0) || in _PyContext_Init()