Skip to content

Commit 8295659

Browse files
authored
Remove unused internal _Py_REF_IS_QUEUED() function (#151236)
1 parent 2d33810 commit 8295659

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Include/internal/pycore_object.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,6 @@ _Py_REF_IS_MERGED(Py_ssize_t ob_ref_shared)
266266
return (ob_ref_shared & _Py_REF_SHARED_FLAG_MASK) == _Py_REF_MERGED;
267267
}
268268

269-
static inline int
270-
_Py_REF_IS_QUEUED(Py_ssize_t ob_ref_shared)
271-
{
272-
return (ob_ref_shared & _Py_REF_SHARED_FLAG_MASK) == _Py_REF_QUEUED;
273-
}
274-
275269
// Merge the local and shared reference count fields and add `extra` to the
276270
// refcount when merging.
277271
Py_ssize_t _Py_ExplicitMergeRefcount(PyObject *op, Py_ssize_t extra);

0 commit comments

Comments
 (0)