File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ static inline PyObject *
8080_PyStackRef_AsTuple (_PyStackRef ref , PyObject * op )
8181{
8282 int flags = ref .index & Py_TAG_BITS ;
83- return Py_BuildValue ("(Ii )" , Py_REFCNT (op ), flags );
83+ return Py_BuildValue ("(ni )" , Py_REFCNT (op ), flags );
8484}
8585
8686static inline _PyStackRef
@@ -480,7 +480,7 @@ static inline PyObject *
480480_PyStackRef_AsTuple (_PyStackRef ref , PyObject * op )
481481{
482482 // Do not check StackRef flags in the free threading build.
483- return Py_BuildValue ("(Ii )" , Py_REFCNT (op ), -1 );
483+ return Py_BuildValue ("(ni )" , Py_REFCNT (op ), flags );
484484}
485485
486486static inline PyObject *
@@ -671,7 +671,7 @@ static inline PyObject *
671671_PyStackRef_AsTuple (_PyStackRef ref , PyObject * op )
672672{
673673 int flags = ref .bits & Py_TAG_BITS ;
674- return Py_BuildValue ("(Ii )" , Py_REFCNT (op ), flags );
674+ return Py_BuildValue ("(ni )" , Py_REFCNT (op ), -1 );
675675}
676676
677677#ifdef Py_DEBUG
You can’t perform that action at this time.
0 commit comments