diff options
author | Georg Brandl <georg@python.org> | 2007-11-29 17:41:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-11-29 17:41:05 (GMT) |
commit | 5c10664043448f1d27d7ce7eb67c2afe3f54b018 (patch) | |
tree | a5b3ada6978c46dc179e97011c02031bb4e9344e /Doc/library/random.rst | |
parent | ba956aebb96c38f1b8818189ed6ab18d5441313a (diff) | |
download | cpython-5c10664043448f1d27d7ce7eb67c2afe3f54b018.zip cpython-5c10664043448f1d27d7ce7eb67c2afe3f54b018.tar.gz cpython-5c10664043448f1d27d7ce7eb67c2afe3f54b018.tar.bz2 |
Remove further mentions of long integers.
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 9b02003..0062ffe 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -60,8 +60,8 @@ Bookkeeping functions: they are used instead of the system time (see the :func:`os.urandom` function for details on availability). - If *x* is not ``None`` or an int or long, ``hash(x)`` is used instead. If *x* is - an int or long, *x* is used directly. + If *x* is not ``None`` or an int, ``hash(x)`` is used instead. If *x* is an + int, *x* is used directly. .. function:: getstate() @@ -90,8 +90,8 @@ Bookkeeping functions: .. function:: getrandbits(k) - Returns a python :class:`long` int with *k* random bits. This method is supplied - with the MersenneTwister generator and some other generators may also provide it + Returns a python integer with *k* random bits. This method is supplied with + the MersenneTwister generator and some other generators may also provide it as an optional part of the API. When available, :meth:`getrandbits` enables :meth:`randrange` to handle arbitrarily large ranges. |