Skip to content

DOC: 'highest' is exclusive for randint() #8188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2016

Conversation

bennorth
Copy link
Contributor

The docstring for numpy.random.randint() incorrectly describes the low parameter in the case that high is None. It claims low is then the highest integer to be drawn. In fact it is a strict upper bound on the drawn integers, as correctly stated in the description of high. This PR fixes the description of low by using the language of high's description.

@shoyer shoyer merged commit 8942afd into numpy:master Oct 20, 2016
@shoyer
Copy link
Member

shoyer commented Oct 20, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants