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 f3e6e18 commit b2207aaCopy full SHA for b2207aa
Modules/_queuemodule.c
@@ -509,7 +509,7 @@ static Py_ssize_t
509
_queue_SimpleQueue___sizeof___impl(simplequeueobject *self)
510
/*[clinic end generated code: output=58ce4e3bbc078fd4 input=40a793cdf1c78c30]*/
511
{
512
- Py_ssize_t size = Py_TYPE(self)->tp_basicsize;
+ Py_ssize_t size = _PyObject_SIZE(Py_TYPE(self));
513
size += self->buf.items_cap * sizeof(PyObject *);
514
return size;
515
}
0 commit comments