Skip to content

Commit 4a7e30c

Browse files
karpathyAA-Turner
andauthored
shorten the comment as suggested.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 5b13c97 commit 4a7e30c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/random.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ Bookkeeping functions
7878
instead of the system time (see the :func:`os.urandom` function for details
7979
on availability).
8080

81-
If *a* is an int, it is used directly. Note that negative integer seeds are
82-
treated as equivalent to their absolute value, so for example ``seed(-5)`` and
83-
``seed(5)`` will produce identical sequences.
81+
If *a* is an int, its absolute value is used directly.
8482

8583
With version 2 (the default), a :class:`str`, :class:`bytes`, or :class:`bytearray`
8684
object gets converted to an :class:`int` and all of its bits are used.

0 commit comments

Comments
 (0)