Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_testlimitedcapi/
Dobject.c20 PyObject *obj = Py_GetConstant(constant_id); in get_constant()
56 assert(Py_None == Py_GetConstant(Py_CONSTANT_NONE)); in test_constants()
57 assert(Py_False == Py_GetConstant(Py_CONSTANT_FALSE)); in test_constants()
58 assert(Py_True == Py_GetConstant(Py_CONSTANT_TRUE)); in test_constants()
59 assert(Py_Ellipsis == Py_GetConstant(Py_CONSTANT_ELLIPSIS)); in test_constants()
60 assert(Py_NotImplemented == Py_GetConstant(Py_CONSTANT_NOT_IMPLEMENTED)); in test_constants()
/external/python/cpython3/Doc/c-api/
Dobject.rst9 .. c:function:: PyObject* Py_GetConstant(unsigned int constant_id)
47 Similar to :c:func:`Py_GetConstant`, but return a :term:`borrowed
51 using :c:func:`Py_GetConstant` is recommended for new code.
/external/python/cpython3/Include/
Dobject.h1092 PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id);
/external/python/cpython3/Misc/NEWS.d/
D3.13.0a6.rst1202 Add :c:func:`Py_GetConstant` and :c:func:`Py_GetConstantBorrowed` functions
1203 to get constants. For example, ``Py_GetConstant(Py_CONSTANT_ZERO)`` returns
/external/python/cpython3/Objects/
Dobject.c3050 Py_GetConstant(unsigned int constant_id) in Py_GetConstant() function
3066 return Py_GetConstant(constant_id); in Py_GetConstantBorrowed()
/external/python/cpython3/PC/
Dpython3dll.c58 EXPORT_FUNC(Py_GetConstant)
/external/python/cpython3/Doc/data/
Dstable_abi.dat847 func,Py_GetConstant,3.13,,
Dpython3.13.abi989 …<elf-symbol name='Py_GetConstant' type='func-type' binding='global-binding' visibility='default-vi…
8569Py_GetConstant' mangled-name='Py_GetConstant' filepath='Objects/object.c' line='3050' column='1' v…
/external/python/cpython3/Misc/
Dstable_abi.toml2496 [function.Py_GetConstant]
/external/python/cpython3/Doc/whatsnew/
D3.13.rst2081 * Add the :c:func:`Py_GetConstant` and :c:func:`Py_GetConstantBorrowed`
2084 For example, ``Py_GetConstant(Py_CONSTANT_ZERO)`` returns a strong reference