summaryrefslogtreecommitdiff
path: root/doc/source/user
diff options
context:
space:
mode:
authorMichael Seifert <michaelseifert04@yahoo.de>2017-10-13 15:28:07 +0200
committerMichael Seifert <michaelseifert04@yahoo.de>2017-10-13 15:32:18 +0200
commit56a7c290037dd9417dbd6fadb971e98a91feff4e (patch)
tree951f707184d42397b12514dbbea4e5ced96e304e /doc/source/user
parente64699dcaca9eb0dd97deabae01ffc2884cacbb0 (diff)
downloadnumpy-56a7c290037dd9417dbd6fadb971e98a91feff4e.tar.gz
DOC: Some minor fixes regarding import_array
[skip ci]
Diffstat (limited to 'doc/source/user')
-rw-r--r--doc/source/user/c-info.how-to-extend.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/user/c-info.how-to-extend.rst b/doc/source/user/c-info.how-to-extend.rst
index a8b3de34f..f36cc493b 100644
--- a/doc/source/user/c-info.how-to-extend.rst
+++ b/doc/source/user/c-info.how-to-extend.rst
@@ -56,8 +56,8 @@ order for Python to use it as an extension module. The function must
be called init{name} where {name} is the name of the module from
Python. This function must be declared so that it is visible to code
outside of the routine. Besides adding the methods and constants you
-desire, this subroutine must also contain calls to import_array()
-and/or import_ufunc() depending on which C-API is needed. Forgetting
+desire, this subroutine must also contain calls like ``import_array()``
+and/or ``import_ufunc()`` depending on which C-API is needed. Forgetting
to place these commands will show itself as an ugly segmentation fault
(crash) as soon as any C-API subroutine is actually called. It is
actually possible to have multiple init{name} functions in a single