Commit Graph

22 Commits

Author SHA1 Message Date
Ezio Melotti ed3f5900d4 #15831: document multiple signatures on different lines. Patch by Chris Jerdonek. 2012-09-14 06:48:32 +03:00
Sandro Tosi 106c25034a it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@ 2012-08-12 15:11:58 +02:00
Georg Brandl 21c69b1043 Add info from the docstring for random.gammavariate() to the docs. 2011-09-17 20:36:28 +02:00
Éric Araujo 29a0b57e4e Backport source links from 3.x.
Existing links have been updated to use the new reST role.  In some
files, I have also made cosmetic changes to the header.
2011-08-19 02:14:03 +02:00
Raymond Hettinger e679a37024 Provide links to Python source in a handful of
cases where the source is a generally helpful
adjunct to the docs.
2010-11-05 23:58:42 +00:00
Raymond Hettinger 490986308e Issue 10025: Let docs for random.seed() describe what it does, not how it does it.
The latter was slightly inaccurate.
2010-10-31 18:15:33 +00:00
Andrew M. Kuchling 25d6ddd38b #7076: mention SystemRandom class near start of the module docs; reword change description for clarity. Noted by Shawn Ligocki. 2010-02-22 02:29:10 +00:00
Raymond Hettinger 2c0cdca564 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:14:53 +00:00
Andrew M. Kuchling e9d35ef230 Typo fix 2009-04-02 00:02:14 +00:00
Raymond Hettinger fff2f4bb03 Add link to an alternative generator with a long-period. 2009-04-01 20:50:58 +00:00
Georg Brandl 9f7fb849df #4979: correct result range for some random functions. 2009-01-18 13:24:10 +00:00
Mark Dickinson e6dc53120d Issue #4869: clarify documentation for random.expovariate. 2009-01-07 17:48:33 +00:00
Georg Brandl afeea0711a #3918: note that uniform() args can be swapped. 2008-09-21 08:03:21 +00:00
Benjamin Peterson f2eb2b44fc getrandombits is actually getrandbits 2008-07-30 13:46:53 +00:00
Raymond Hettinger d145240f9a Tighten documentation for Random.triangular. 2008-03-24 06:07:49 +00:00
Raymond Hettinger c4f7bab0a0 Adopt Nick's suggestion for useful default arguments.
Clean-up floating point issues by adding true division and float constants.
2008-03-23 19:37:53 +00:00
Raymond Hettinger bbc50eafe5 Issue 1681432: Add triangular distribution the random module. 2008-03-23 13:32:32 +00:00
Georg Brandl 907a720f89 A lot more typo fixes by Ori Avtalion. 2008-02-22 12:31:45 +00:00
Martin v. Löwis 6b449f4f2b Issue #1727780: Support loading pickles of random.Random objects created
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
2007-12-03 19:20:02 +00:00
Georg Brandl b5b6f3c46e Remove dead link from random docs. 2007-11-14 13:59:09 +00:00
Georg Brandl 7c3e79f67f Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
I hope the concept of hashability is better understandable now.
Thanks to Tim Hatch for pointing out the flaws here.
2007-11-02 20:06:17 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00