mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
This commit is contained in:
parent
8f2e07b7d0
commit
aeb6ceead7
5 changed files with 6 additions and 47 deletions
|
@ -759,7 +759,7 @@ class SizeofTest(unittest.TestCase):
|
|||
check(int(PyLong_BASE**2-1), size(vh) + 2*self.longdigit)
|
||||
check(int(PyLong_BASE**2), size(vh) + 3*self.longdigit)
|
||||
# memory
|
||||
check(memoryview(b''), size(h + 'P PP2P2i7P'))
|
||||
check(memoryview(b''), size(h + 'PP2P2i7P'))
|
||||
# module
|
||||
check(unittest, size(h + '3P'))
|
||||
# None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue