]> granicus.if.org Git - python/commit
Remove the random=None nonsense from sample() before it gets set in stone.
authorRaymond Hettinger <python@rcn.com>
Sat, 4 Jan 2003 05:20:33 +0000 (05:20 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 4 Jan 2003 05:20:33 +0000 (05:20 +0000)
commit8b9aa8dbba644da23ce8417f2d30b218392b3282
tree0d523e3aa2725608c0df6e907afadd3d09b2d3fe
parent950cdacfa52b9feba4ce9f6251bb225e4f97a534
Remove the random=None nonsense from sample() before it gets set in stone.
It was once available so that faster generators could be substituted.  Now,
that is less necessary and preferrably done via subclassing.

Also, clarified and shortened the comments for sample().
Lib/random.py