diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-11 09:38:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 09:38:22 (GMT) |
commit | 1f2921b72c369b19c2e32aaedb9f8c63e0cb8b48 (patch) | |
tree | 36a45c5f49093ad3a7947593f2d35901c021f3cb /Doc | |
parent | e6379f72cbc60f6b3c5676f9e225d4f145d5693f (diff) | |
download | cpython-1f2921b72c369b19c2e32aaedb9f8c63e0cb8b48.zip cpython-1f2921b72c369b19c2e32aaedb9f8c63e0cb8b48.tar.gz cpython-1f2921b72c369b19c2e32aaedb9f8c63e0cb8b48.tar.bz2 |
gh-106572: Convert PyObject_DelAttr() to a function (#106611)
* Convert PyObject_DelAttr() and PyObject_DelAttrString() macros to
functions.
* Add PyObject_DelAttr() and PyObject_DelAttrString() functions to
the stable ABI.
* Replace PyObject_SetAttr(obj, name, NULL) with
PyObject_DelAttr(obj, name).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/data/stable_abi.dat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index 7fb002c..9a61ddc 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -490,6 +490,8 @@ function,PyObject_Calloc,3.7,, function,PyObject_CheckBuffer,3.11,, function,PyObject_ClearWeakRefs,3.2,, function,PyObject_CopyData,3.11,, +function,PyObject_DelAttr,3.13,, +function,PyObject_DelAttrString,3.13,, function,PyObject_DelItem,3.2,, function,PyObject_DelItemString,3.2,, function,PyObject_Dir,3.2,, |