• Raymond Hettinger's avatar
    Improved clarity and thoroughness of docstring. · c0b4034b
    Raymond Hettinger yazdı
    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.
    c0b4034b
random.py 29.2 KB