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 206571b commit 30fc873Copy full SHA for 30fc873
1 file changed
Python/gc_free_threading.c
@@ -159,16 +159,6 @@ gc_decref(PyObject *op)
159
op->ob_tid -= 1;
160
}
161
162
-static inline Py_ssize_t
163
-gc_refcount(PyObject *op)
164
-{
165
- Py_ssize_t refcount = Py_REFCNT(op);
166
- if (_PyObject_HasDeferredRefcount(op)) {
167
- refcount -= 1;
168
- }
169
- return refcount;
170
-}
171
-
172
static void
173
disable_deferred_refcounting(PyObject *op)
174
{
0 commit comments