Skip to content
Snippets Groups Projects
Commit 90fae917 authored by stijn's avatar stijn Committed by Damien George
Browse files

py/objarray: Add support for memoryview.itemsize attribute.

This allows figuring out the number of bytes in the memoryview object as
len(memview) * memview.itemsize.

The feature is enabled via MICROPY_PY_BUILTINS_MEMORYVIEW_ITEMSIZE and is
disabled by default.
parent 38cb9571
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment