File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ signature has changed (now it has two optional boolean arguments: `ignore_spaces
8686(it now makes use of the new extracted method ` asciify() ` )
8787- ` is_uuid() ` has now a second parameter ` allow_hex ` that if true, considers as valid UUID hex value
8888- ` uuid() ` has now an optional boolean parameter ` as_hex ` which allows to return UUID string as hex representation
89+ - ` shuffle() ` is now faster
8990
9091---
9192
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def shuffle(input_string: str) -> str:
370370 raise InvalidInputError (input_string )
371371
372372 # turn the string into a list of chars
373- chars = sorted (input_string )
373+ chars = list (input_string )
374374
375375 # shuffle the list
376376 random .shuffle (chars )
You can’t perform that action at this time.
0 commit comments