Skip to content

MAINT: Correct masked aliases#13688

Merged
mattip merged 1 commit intonumpy:masterfrom
bashtage:random_sample-aliases
Jun 2, 2019
Merged

MAINT: Correct masked aliases#13688
mattip merged 1 commit intonumpy:masterfrom
bashtage:random_sample-aliases

Conversation

@bashtage
Copy link
Contributor

@bashtage bashtage commented Jun 1, 2019

Expose alias that have correct docstrings

closes #10587
closes #7512

@bashtage bashtage force-pushed the random_sample-aliases branch from f352dc4 to d8d9fac Compare June 1, 2019 05:36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this could get a cleanup and be moved to the huge __all__ list above, which should get a comment that these are all imported with from mtrand import *

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Expose alias that have correct docstrings

closes numpy#10587
@bashtage bashtage force-pushed the random_sample-aliases branch from d8d9fac to 68c81c1 Compare June 1, 2019 20:32
@mattip mattip merged commit b90e09c into numpy:master Jun 2, 2019
@bashtage bashtage deleted the random_sample-aliases branch May 12, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC: numpy.random.sample and numpy.random.random_sample DOC: np.random.random documentation refers only to np.random.random_sample

4 participants