diff --git a/Lib/random.py b/Lib/random.py index ac80ca7d65b..6388f299d37 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -96,7 +96,7 @@ def seed(self, a=None, version=2): 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.