Skip to content

Commit be61a22

Browse files
committed
chore: add @critical_section
1 parent a0a23b1 commit be61a22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_queuemodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ _queue_SimpleQueue_qsize_impl(simplequeueobject *self)
501501
}
502502

503503
/*[clinic input]
504+
@critical_section
504505
_queue.SimpleQueue.__sizeof__ -> Py_ssize_t
505506
506507
Return size of queue in bytes, including underlying data structure.

0 commit comments

Comments
 (0)