Issue #18783: Removed existing mentions of Python long type in docstrings,

error messages and comments.
This commit is contained in:
Serhiy Storchaka 2013-08-27 20:17:03 +03:00
commit 46e1ce214b
40 changed files with 140 additions and 150 deletions

View file

@ -637,7 +637,7 @@ class SystemRandom(Random):
return (int.from_bytes(_urandom(7), 'big') >> 3) * RECIP_BPF
def getrandbits(self, k):
"""getrandbits(k) -> x. Generates a long int with k random bits."""
"""getrandbits(k) -> x. Generates an int with k random bits."""
if k <= 0:
raise ValueError('number of bits must be greater than zero')
if k != int(k):