Skip to content

Commit f43ccc3

Browse files
committed
Fix long check
1 parent 4c83848 commit f43ccc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_stackref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ static inline bool
733733
PyStackRef_LongCheck(_PyStackRef stackref)
734734
{
735735
if (PyStackRef_IsTaggedInt(stackref)) {
736-
return false;
736+
return true;
737737
}
738738
return PyLong_Check(PyStackRef_AsPyObjectBorrow(stackref));
739739
}

0 commit comments

Comments
 (0)