[issue7009] random.randint docs

James G. sack (jim) report at bugs.python.org
Mon Sep 28 05:56:46 CEST 2009


New submission from James G. sack (jim) <jgsack at users.sourceforge.net>:

Docs for 2.6.2 (http://docs.python.org/library/random.html?
highlight=random#module-random)
presently say
"""
random.randint(a, b)
Return a random integer N such that a <= N <= b.
"""

It should say
...a <= N < b

I wonder if there are other mistakes there in upper limit docs?

~jim

----------
assignee: georg.brandl
components: Documentation
messages: 93190
nosy: georg.brandl, jgsack
severity: normal
status: open
title: random.randint docs
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7009>
_______________________________________


More information about the Python-bugs-list mailing list