mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
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).
This commit is contained in:
parent
e6379f72cb
commit
1f2921b72c
12 changed files with 33 additions and 8 deletions
2
PC/python3dll.c
generated
2
PC/python3dll.c
generated
|
@ -447,6 +447,8 @@ EXPORT_FUNC(PyObject_CheckBuffer)
|
|||
EXPORT_FUNC(PyObject_CheckReadBuffer)
|
||||
EXPORT_FUNC(PyObject_ClearWeakRefs)
|
||||
EXPORT_FUNC(PyObject_CopyData)
|
||||
EXPORT_FUNC(PyObject_DelAttr)
|
||||
EXPORT_FUNC(PyObject_DelAttrString)
|
||||
EXPORT_FUNC(PyObject_DelItem)
|
||||
EXPORT_FUNC(PyObject_DelItemString)
|
||||
EXPORT_FUNC(PyObject_Dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue