From dea5c3cc3e15ae2ceb325995a726ca050a42feee Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 5 Apr 2024 02:23:45 +0200 Subject: [PATCH] Fix PyDict_SetDefaultRef() definition --- pythoncapi_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythoncapi_compat.h b/pythoncapi_compat.h index 7dd3ca2..16935df 100644 --- a/pythoncapi_compat.h +++ b/pythoncapi_compat.h @@ -1300,7 +1300,7 @@ PyList_GetItemRef(PyObject *op, Py_ssize_t index) // gh-114329 added PyList_GetItemRef() to Python 3.13.0a4 #if PY_VERSION_HEX < 0x030D00A4 -static int +static inline int PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value, PyObject **result) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy