Skip to content

Commit 01341ac

Browse files
authored
Fix PyDict_SetDefaultRef() definition (python#92)
1 parent 9bfd8de commit 01341ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ PyList_GetItemRef(PyObject *op, Py_ssize_t index)
13001300

13011301
// gh-114329 added PyList_GetItemRef() to Python 3.13.0a4
13021302
#if PY_VERSION_HEX < 0x030D00A4
1303-
static int
1303+
static inline int
13041304
PyDict_SetDefaultRef(PyObject *d, PyObject *key, PyObject *default_value,
13051305
PyObject **result)
13061306
{

0 commit comments

Comments
 (0)
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