diff options
author | zoj <44142765+zoj613@users.noreply.github.com> | 2021-05-17 17:45:47 +0200 |
---|---|---|
committer | zoj <44142765+zoj613@users.noreply.github.com> | 2021-05-17 17:45:47 +0200 |
commit | b129f292c58e36bbb4d9d393087e9236d01cf51a (patch) | |
tree | ccd24b790be8ae74cdbe477b265ffdcfcb3d7989 /doc/source | |
parent | 72cc4dbf336dd5d1db11821110279f5ff8e320a8 (diff) | |
download | numpy-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.rst | 4 |
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 |