提交 ab258c60 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Small corrections to function and variables highlight

上级 420e53c9
...@@ -226,7 +226,7 @@ The following functions allow the creation and copy of NumPy arrays : ...@@ -226,7 +226,7 @@ The following functions allow the creation and copy of NumPy arrays :
``PyArray_ZEROS()`` but the data type is given as a pointer to a ``PyArray_ZEROS()`` but the data type is given as a pointer to a
``PyArray_Descr`` object instead of a ``typenum``. ``PyArray_Descr`` object instead of a ``typenum``.
.. method:: PyArrayObject* PyArray_GETCONTIGUOUS(PyObject* op): .. method:: PyArrayObject* PyArray_GETCONTIGUOUS(PyObject* op)
Returns a C-contiguous and well-behaved copy of the array op. If op is Returns a C-contiguous and well-behaved copy of the array op. If op is
already C-contiguous and well-behaved, this function simply returns a already C-contiguous and well-behaved, this function simply returns a
...@@ -316,7 +316,7 @@ used. ...@@ -316,7 +316,7 @@ used.
:note: :note:
Your C code should not return the output of the computation but Your C code should not return the output of the computation but
rather put the results in the C variables whose names are contained in rather put the results in the C variables whose names are contained in
the `output_names``. the ``output_names``.
.. method:: c_support_code() .. method:: c_support_code()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论