Message367826
shuffle(x, random=None) ⟼ shuffle(x)
AFAICT, no one ever uses the optional parameter, nor would they have a valid reason to do so. It is an ancient API oddity and is inconsistent with the other methods in the module. I've long been annoyed by it and would like to see it cleaned-up before I retire ;-)
https://docs.python.org/3/library/random.html#random.shuffle |
|
Date |
User |
Action |
Args |
2020-05-01 08:31:41 | rhettinger | set | recipients:
+ rhettinger, tim.peters |
2020-05-01 08:31:41 | rhettinger | set | messageid: <1588321901.81.0.617278241299.issue40465@roundup.psfhosted.org> |
2020-05-01 08:31:41 | rhettinger | link | issue40465 messages |
2020-05-01 08:31:41 | rhettinger | create | |
|