Skip to content

DOC: Fix documented default value of __array_priority__ for subarrays. #13819

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
Jun 23, 2019

Conversation

ivirshup
Copy link
Contributor

Changed default value of __array_priority__ to correct value.

Previously fixed elsewhere: a70842c

Evidence the value was wrong:

import numpy as np

class B(np.ndarray):
    pass

np.ones(1).view(B).__array_priority__  # 0.0

Changed default value of `__array_priority__` to correct value.
@charris charris changed the title DOC: fix default __array_priority__ in ufunc docs DOC: Fix documented default value of __array_priority__ for subarrays. Jun 23, 2019
@charris charris merged commit 871fac7 into numpy:master Jun 23, 2019
@charris
Copy link
Member

charris commented Jun 23, 2019

Thanks @ivirshup .

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.

2 participants