Commit 9ecaba0e authored by maciejkula's avatar maciejkula

Document `initializedcheck` compiler directive.

parent 28a78cb2
...@@ -292,6 +292,12 @@ Cython code. Here is the list of currently supported directives: ...@@ -292,6 +292,12 @@ Cython code. Here is the list of currently supported directives:
data corruption. data corruption.
Default is True. Default is True.
``initializedcheck`` (True / False)
If set to True, Cython checks that a memoryview is initialized
whenever its elements are accessed or assigned to. Setting this
to False disables these checks.
Default is True.
``nonecheck`` (True / False) ``nonecheck`` (True / False)
If set to False, Cython is free to assume that native field If set to False, Cython is free to assume that native field
accesses on variables typed as an extension type, or buffer accesses on variables typed as an extension type, or buffer
......
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