]> granicus.if.org Git - python/commit
Improved clarity and thoroughness of docstring.
authorRaymond Hettinger <python@rcn.com>
Wed, 13 Nov 2002 15:26:37 +0000 (15:26 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 13 Nov 2002 15:26:37 +0000 (15:26 +0000)
commitc0b4034b8165ce958a23f2c865b51ae0f52040f5
treebe7ce4addc8878e1d0f009202906b34d86b50f79
parent674dae245a61b6519238cac8529c6ac83721f880
Improved clarity and thoroughness of docstring.
Added design notes in comments.
Used better variable names.
Eliminated the unsavory "pool[-k:]" which was an aspiring bug (for k==0).
Used if/else to show the two algorithms in parallel style.
Added one more test assertion.
Lib/random.py