8000 Update pycore_object_deferred.h · python/cpython@e12337a · GitHub
[go: up one dir, main page]

Skip to content

Commit e12337a

Browse files
Update pycore_object_deferred.h
1 parent 1d71dd1 commit e12337a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_object_deferred.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static inline int
2020
_PyObject_HasDeferredRefcount(PyObject *op)
2121
{
2222
#ifdef Py_GIL_DISABLED
23-
return (op->ob_gc_bits & _PyGC_BITS_DEFERRED) != 0;
23+
return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_DEFERRED);
2424
#else
2525
return 0;
2626
#endif

0 commit comments

Comments
 (0)
0