mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays (#133396)
This commit is contained in:
parent
07f416a3f0
commit
082dbf7788
14 changed files with 172 additions and 45 deletions
|
@ -1776,7 +1776,7 @@ class SizeofTest(unittest.TestCase):
|
|||
check((1,2,3), vsize('') + self.P + 3*self.P)
|
||||
# type
|
||||
# static type: PyTypeObject
|
||||
fmt = 'P2nPI13Pl4Pn9Pn12PIPc'
|
||||
fmt = 'P2nPI13Pl4Pn9Pn12PI3Pc'
|
||||
s = vsize(fmt)
|
||||
check(int, s)
|
||||
typeid = 'n' if support.Py_GIL_DISABLED else ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue