Senthil Kumaran <orsent...@gmail.com> added the comment: Not actually a bug. The documentation is correct. Do, random.randint(0,1) a couple of times and you see 1 appearing. If still not convinced, look into the random.py see that randint(a, b) actually does a return self.randrange(a, b+1)
---------- nosy: +senthil.kumaran resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com