Commit 96c2ce10 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #529 from wulmer/bugfix/memoryview-typo

Fix syntax error in memoryview userguide documentation.
parents 18120a93 478d5a65
...@@ -114,9 +114,9 @@ starting at the second (index 1) and then skips every second (odd) row:: ...@@ -114,9 +114,9 @@ starting at the second (index 1) and then skips every second (odd) row::
cdef int[1:102:2,:] partial_view = exporting_object cdef int[1:102:2,:] partial_view = exporting_object
This also works conveniently as function arguments:: This also works conveniently as function arguments:
.. code-block:: cython .. code-block:: cython
def process_3d_buffer(int[1:102:2,:] view not None): def process_3d_buffer(int[1:102:2,:] view not None):
... ...
......
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