summaryrefslogtreecommitdiff
path: root/numpy/random/common.pyx
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-05-24 21:19:11 +0100
committermattip <matti.picus@gmail.com>2019-05-27 22:58:35 +0300
commit23853d65e5c31f182a405427f580123f214e386e (patch)
tree8221947b3e5cc539fa4b1b30c88041f1ad93655e /numpy/random/common.pyx
parent58c0e72854c3f79d3d165d74f2dc721815a38b57 (diff)
downloadnumpy-23853d65e5c31f182a405427f580123f214e386e.tar.gz
STY: Clean up code
Pep8 fixes Remove unused imports Fix name error
Diffstat (limited to 'numpy/random/common.pyx')
-rw-r--r--numpy/random/common.pyx4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/random/common.pyx b/numpy/random/common.pyx
index 994de4345..0fd2d154a 100644
--- a/numpy/random/common.pyx
+++ b/numpy/random/common.pyx
@@ -45,6 +45,10 @@ cdef object random_raw(bitgen_t *bitgen, object lock, object size, object output
Parameters
----------
+ bitgen : BitGenerator
+ Address of the bit generator struct
+ lock : Threading.Lock
+ Lock provided by the bit generator
size : int or tuple of ints, optional
Output shape. If the given shape is, e.g., ``(m, n, k)``, then
``m * n * k`` samples are drawn. Default is None, in which case a