Skip to content

Commit 42e0039

Browse files
committed
Updating docsting for random_permutation() and adding its entry in sketch.csv
1 parent ad61342 commit 42e0039

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

py5_docs/Reference/api_en/Sketch_random_permutation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category = math
55
subcategory = random
66

77
@@ signatures
8-
random_permutation(seq: Sequence[Any] -> Sequence[Any]
8+
random_permutation(seq: Sequence[Any]) -> Sequence[Any]
99

1010
@@ variables
1111
seq: Sequence[Any] - Sequence of objects for which random permutation is required.

py5_resources/data/sketch.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ random_gaussian,randomGaussian,,method,math,random,PYTHON,implementation uses nu
368368
random_int,,,method,math,random,PYTHON,implementation uses numpy for performance reasons
369369
random_choice,,,method,math,random,PYTHON,implementation uses numpy for performance reasons
370370
random_sample,,,method,math,random,PYTHON,implementation uses numpy for performance reasons
371+
random_permutation,,,method,math,random,PYTHON,implementation uses numpy for performance reasons
371372
random_seed,randomSeed,,method,math,random,PYTHON,implementation uses numpy for performance reasons
372373
choice,choice,,method,math,random,SKIP,new method but functionality already provided by random_int
373374
np_random,,,dynamic variable,math,random,PYTHON,make numpy random number generator available to users

0 commit comments

Comments
 (0)