summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-01 04:59:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-01 04:59:18 (GMT)
commit0de88fc4b108751b86443852b6741680d704168f (patch)
treea3824b12e3ed7dc1d65667388a4ace86f7fffe6e /Grammar
parent0eb107068a4a66d9c4df7276ca330b7d0312645e (diff)
downloadcpython-0de88fc4b108751b86443852b6741680d704168f.zip
cpython-0de88fc4b108751b86443852b6741680d704168f.tar.gz
cpython-0de88fc4b108751b86443852b6741680d704168f.tar.bz2
Change random.seed() so that it can get at the full range of possible
internal states. Put the old .seed() (which could only get at about the square root of the # of possibilities) under the new name .whseed(), for bit-level compatibility with older versions. This occurred to me while reviewing effbot's book (he found himself stumbling over .seed() more than once there ...).
Diffstat (limited to 'Grammar')
0 files changed, 0 insertions, 0 deletions