mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
in the limited ABI
This commit is contained in:
parent
9b142aaae8
commit
738236dbd6
7 changed files with 32 additions and 1 deletions
|
|
@ -35,6 +35,14 @@ Type Objects
|
|||
|
||||
Clear the internal lookup cache. Return the current version tag.
|
||||
|
||||
.. c:function:: long PyType_GetFlags(PyTypeObject* type)
|
||||
|
||||
Return the :attr:`tp_flags` member of *type*. This function is primarily
|
||||
meant for use with `Py_LIMITED_API`; the individual flag bits are
|
||||
guaranteed to be stable across Python releases, but access to
|
||||
:attr:`tp_flags` itself is not part of the limited API.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. c:function:: void PyType_Modified(PyTypeObject *type)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue