We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7a544 commit 17b97c6Copy full SHA for 17b97c6
Include/internal/pycore_stackref.h
@@ -518,7 +518,7 @@ PyStackRef_FromPyObjectImmortal(PyObject *obj)
518
519
#ifdef _WIN32
520
#define PyStackRef_DUP(REF) \
521
- (PyStackRef_IsUncountedMortal(REF) ? Py_INCREF_MORTAL(BITS_TO_PTR(REF)) : (REF))
+ (PyStackRef_IsUncountedMortal(REF) ? (Py_INCREF_MORTAL(BITS_TO_PTR(REF)), (REF)) : (REF))
522
#else
523
static inline _PyStackRef
524
PyStackRef_DUP(_PyStackRef ref)
0 commit comments