| 767 | // PyMapping_HasKeyStringWithError() to Python 3.13.0a1 |
| 768 | #if PY_VERSION_HEX < 0x030D00A1 |
| 769 | static inline int |
| 770 | PyMapping_HasKeyWithError(PyObject *obj, PyObject *key) |
| 771 | { |
| 772 | PyObject *res; |
| 773 | int rc = PyMapping_GetOptionalItem(obj, key, &res); |
| 774 | Py_XDECREF(res); |
| 775 | return rc; |
| 776 | } |
| 777 | |
| 778 | static inline int |
| 779 | PyMapping_HasKeyStringWithError(PyObject *obj, const char *key) |
nothing calls this directly
no test coverage detected