summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorzoj <44142765+zoj613@users.noreply.github.com>2021-05-17 17:45:47 +0200
committerzoj <44142765+zoj613@users.noreply.github.com>2021-05-17 17:45:47 +0200
commitb129f292c58e36bbb4d9d393087e9236d01cf51a (patch)
treeccd24b790be8ae74cdbe477b265ffdcfcb3d7989 /doc/source
parent72cc4dbf336dd5d1db11821110279f5ff8e320a8 (diff)
downloadnumpy-b129f292c58e36bbb4d9d393087e9236d01cf51a.tar.gz
DOC: Use versionadded tag instead of inline comment to specify minimum version needed for random c-api
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/random/c-api.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/reference/random/c-api.rst b/doc/source/reference/random/c-api.rst
index 15a8947eb..de403ce98 100644
--- a/doc/source/reference/random/c-api.rst
+++ b/doc/source/reference/random/c-api.rst
@@ -3,7 +3,9 @@ C API for random
.. currentmodule:: numpy.random
-Since version ``1.19.0``, access to various distributions below is available via Cython or C-wrapper
+.. versionadded:: 1.19.0
+
+Access to various distributions below is available via Cython or C-wrapper
libraries like CFFI. All the functions accept a :c:type:`bitgen_t` as their
first argument. To access these from Cython or C, you must link with the
``npyrandom`` library which is part of the NumPy distribution, located in