From: Sandro Tosi Date: Sat, 2 Jun 2012 17:40:02 +0000 (+0200) Subject: Issue #14926: fix docstring highlight X-Git-Tag: v3.3.0b1~303^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29d09aa4dd18d08873832b2420a28e3092169786;p=thirdparty%2FPython%2Fcpython.git Issue #14926: fix docstring highlight --- diff --git a/Lib/random.py b/Lib/random.py index d4006e5727ec..9b61208d2eb4 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -96,7 +96,7 @@ class Random(_random.Random): 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.