Skip to content
GitLab
Explore
Sign in
Register
Kirill Smelkov
cpython
Repository
cpython
Lib
random.py
Find file
Blame
History
Permalink
SF patch 629637: Add sample(population, k) method to the random module.
· f24eb35d
Raymond Hettinger
authored
Nov 12, 2002
Used for random sampling without replacement.
f24eb35d