mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
gh-106521: Add PyObject_GetOptionalAttr() function (GH-106522)
It is a new name of former _PyObject_LookupAttr(). Add also PyObject_GetOptionalAttrString().
This commit is contained in:
parent
cabd6e8a10
commit
579aa89e68
11 changed files with 119 additions and 23 deletions
2
Doc/data/stable_abi.dat
generated
2
Doc/data/stable_abi.dat
generated
|
|
@ -512,6 +512,8 @@ function,PyObject_GetAttrString,3.2,,
|
|||
function,PyObject_GetBuffer,3.11,,
|
||||
function,PyObject_GetItem,3.2,,
|
||||
function,PyObject_GetIter,3.2,,
|
||||
function,PyObject_GetOptionalAttr,3.13,,
|
||||
function,PyObject_GetOptionalAttrString,3.13,,
|
||||
function,PyObject_GetTypeData,3.12,,
|
||||
function,PyObject_HasAttr,3.2,,
|
||||
function,PyObject_HasAttrString,3.2,,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue