mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)
This commit is contained in:
parent
6a358bb948
commit
3e2c643ae0
10 changed files with 67 additions and 0 deletions
|
|
@ -112,6 +112,13 @@ Type Objects
|
|||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
.. c:function:: PyObject* PyType_GetQualName(PyTypeObject *type)
|
||||
|
||||
Return the type's qualified name. Equivalent to getting the
|
||||
type's ``__qualname__`` attribute.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
.. c:function:: void* PyType_GetSlot(PyTypeObject *type, int slot)
|
||||
|
||||
Return the function pointer stored in the given slot. If the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue