提交 a47b9214 authored 作者: pl's avatar pl

Typo correction

上级 25ce92d3
...@@ -78,7 +78,7 @@ borrowed reference, you do not have the burden of properly disposing of that ...@@ -78,7 +78,7 @@ borrowed reference, you do not have the burden of properly disposing of that
reference. You should **not** call Py_XDECREF() on a borrowed reference. reference. You should **not** call Py_XDECREF() on a borrowed reference.
Correctly managing the reference counts is important as failing to do so can Correctly managing the reference counts is important as failing to do so can
lead to issues ranging from memory leaks to segmentation fauls. lead to issues ranging from memory leaks to segmentation faults.
NumPy C-API NumPy C-API
...@@ -229,8 +229,8 @@ The following functions allow the creation and copy of NumPy arrays : ...@@ -229,8 +229,8 @@ The following functions allow the creation and copy of NumPy arrays :
.. 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-congiguous and well-behaved, this function simply returns a already C-contiguous and well-behaved, this function simply returns a
reference new reference to op. new reference to op.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论