diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2014-12-09 17:45:06 -0500 |
---|---|---|
committer | Thomas A Caswell <tcaswell@bnl.gov> | 2014-12-12 14:00:38 -0500 |
commit | 994a877d459e4ae9795dc0e35ebb9faef575ad13 (patch) | |
tree | 59a0e71c1235ea6a70c2d5f5093b66428b616645 /numpy/random | |
parent | ad38608c125df357f7136e111f36955b6fab5d33 (diff) | |
download | numpy-994a877d459e4ae9795dc0e35ebb9faef575ad13.tar.gz |
DOC : do not abuse enumeration for return types
change '{ndarray, float}' -> 'ndarray or float' as {} are for
when the value is an enumeration
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index c03666527..3f6af86b1 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -1923,7 +1923,7 @@ cdef class RandomState: Returns ------- - samples : {ndarray, scalar} + samples : ndarray or scalar Samples from the Fisher distribution. See Also @@ -2756,7 +2756,7 @@ cdef class RandomState: Returns ------- - samples : {ndarray, scalar} + samples : ndarray or scalar The returned samples lie in [0, 1]. Raises @@ -3099,7 +3099,7 @@ cdef class RandomState: Returns ------- - samples : {ndarray, scalar} + samples : ndarray or scalar where the values are all integers in [0, n]. See Also @@ -3567,7 +3567,7 @@ cdef class RandomState: Returns ------- - samples : {ndarray, scalar} + samples : ndarray or scalar where the values are all integers in [0, n]. See Also @@ -4127,7 +4127,7 @@ cdef class RandomState: Returns ------- - samples : {ndarray, scalar} + samples : ndarray or scalar where the values are all integers in [0, n]. See Also |