We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd50c6 commit ad51310Copy full SHA for ad51310
cymem/cymem.pyx
@@ -141,7 +141,7 @@ cdef class Pool:
141
# We need a critical section on both self and self.addresses here.
142
# See comment in alloc for rationale.
143
with cython.critical_section(self, self.addresses):
144
- self.size -= self.addresses.pop(<size_t>p)
+ self.size -= <size_t>self.addresses.pop(<size_t>p)
145
self.pyfree.free(p)
146
147
def own_pyref(self, object py_ref):
0 commit comments