Commit 3befe6f0 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Docs: Updated a memoryview example with a more meaningful numpy array initialization.

parent ad2527e6
import numpy as np
exporting_object = np.empty((15, 10, 20), dtype=np.intc)
exporting_object = np.arange(0, 15 * 10 * 20, dtype=np.intc).reshape((15, 10, 20))
cdef int[:, :, :] my_view = exporting_object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment