summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-12-20 13:33:48 +0000
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2019-12-20 13:33:48 +0000
commit437f2ede2d4fed1229256f8afdd7d2662b775e8b (patch)
treef319c6676c72d2d9c390ba1a327f14db697157a5
parenta8aa162c7097d8aa4edd6e555f01d7f0a248e1ad (diff)
downloadnumpy-437f2ede2d4fed1229256f8afdd7d2662b775e8b.tar.gz
DOC: Correct choice signature
Add shuffle to signature
-rw-r--r--numpy/random/_generator.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx
index d76cde44c..df4d68927 100644
--- a/numpy/random/_generator.pyx
+++ b/numpy/random/_generator.pyx
@@ -629,7 +629,7 @@ cdef class Generator:
@cython.wraparound(True)
def choice(self, a, size=None, replace=True, p=None, axis=0, bint shuffle=True):
"""
- choice(a, size=None, replace=True, p=None, axis=0):
+ choice(a, size=None, replace=True, p=None, axis=0, shuffle=True):
Generates a random sample from a given 1-D array