Skip to content

Commit 5634e05

Browse files
committed
Remove now useless cast
1 parent 1485323 commit 5634e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_queuemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ _queue_SimpleQueue_put_impl(simplequeueobject *self, PyObject *item,
315315
if (self->has_threads_waiting) {
316316
// Try to hand the item off directly if there are threads waiting
317317
_PyParkingLot_Unpark(&self->has_threads_waiting,
318-
(_Py_unpark_fn_t *)maybe_handoff_item, &data);
318+
maybe_handoff_item, &data);
319319
}
320320
if (!data.handed_off) {
321321
if (RingBuf_Put(&self->buf, item) < 0) {

0 commit comments

Comments
 (0)