(original) (raw)
changeset: 77303:e2739145657d branch: 3.2 parent: 77301:c41779327bac user: Sandro Tosi sandro.tosi@gmail.com date: Sat Jun 02 19:40:02 2012 +0200 files: Lib/random.py description: Issue #14926: fix docstring highlight diff -r c41779327bac -r e2739145657d Lib/random.py --- a/Lib/random.py Sat Jun 02 18:22:02 2012 +0200 +++ b/Lib/random.py Sat Jun 02 19:40:02 2012 +0200 @@ -96,7 +96,7 @@ None or no argument seeds from current time or from an operating system specific randomness source if available. - For version 2 (the default), all of the bits are used if *a *is a str, + For version 2 (the default), all of the bits are used if *a* is a str, bytes, or bytearray. For version 1, the hash() of *a* is used instead. If *a* is an int, all bits are used. /sandro.tosi@gmail.com