mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-106307: C API: Add PyMapping_GetOptionalItem() function (GH-106308)
Also add PyMapping_GetOptionalItemString() function.
This commit is contained in:
parent
b444bfb0a3
commit
4bf43710d1
15 changed files with 739 additions and 896 deletions
2
PC/python3dll.c
generated
2
PC/python3dll.c
generated
|
@ -352,6 +352,8 @@ EXPORT_FUNC(PyLong_FromVoidPtr)
|
|||
EXPORT_FUNC(PyLong_GetInfo)
|
||||
EXPORT_FUNC(PyMapping_Check)
|
||||
EXPORT_FUNC(PyMapping_GetItemString)
|
||||
EXPORT_FUNC(PyMapping_GetOptionalItem)
|
||||
EXPORT_FUNC(PyMapping_GetOptionalItemString)
|
||||
EXPORT_FUNC(PyMapping_HasKey)
|
||||
EXPORT_FUNC(PyMapping_HasKeyString)
|
||||
EXPORT_FUNC(PyMapping_Items)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue