Skip to content
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

BUG: numpy.ma functions can be called with only keyword arguments #6355

Merged
merged 1 commit into from Sep 25, 2015

Conversation

jjhelmus
Copy link
Contributor

numpy.ma.empty, zeros, ones, etc can be called using only keyword arguments
without a positional argument. Previously a single positional argument was
required.

For example:

np.ma.zeros(shape=(10, ))

closes #6106

numpy.ma.empty, zeros, ones, etc can be called using only keyword arguments
without a positional argument.  Previously a single positional argument was
required.

For example:

np.ma.zeros(shape=(10, ))

closes numpy#6106
@ahaldane
Copy link
Member

LGTM. I'll merge in a little bit if there are no other comments.

@ahaldane
Copy link
Member

Merging, thank you @jjhelmus!

ahaldane added a commit that referenced this pull request Sep 25, 2015
BUG: numpy.ma functions can be called with only keyword arguments
@ahaldane ahaldane merged commit 1765438 into numpy:master Sep 25, 2015
@njsmith
Copy link
Member

njsmith commented Sep 25, 2015

@ahaldane: nicely done :-)

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.

ma.empty/zeros/ones do not accept shape keyword
3 participants