PyDocs

Nav

Python Runtime Services

memoryview.shape

builtins

attribute of memoryview
A tuple of ndim integers giving the shape of the memory
as an N-dimensional array.
Changed in 3.3
  • 3.3: An empty tuple instead of None when ndim = 0.
0 Examples
No examples for builtins/memoryview.shape.
See Also
No see-alsos for builtins/memoryview.shape
0 Notes
No notes for memoryview.shape