-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
MAINT: remove unused nd_grid __len__
.
#12159
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
Conversation
close/open to trigger windows builds |
This method doesn't make any sense - we should just remove |
3e2e49d
to
5dfd0eb
Compare
Revised based on feedback to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worthy of a compatibility note, that the expression len(np.mgrid)
is now considered nonsensical and throws a TypeError.
5dfd0eb
to
aafb0a8
Compare
Added a compatibility note as requested -- |
@rgommers: Does this need a deprecation cycle, or is it such a weird thing to do that we'd expect it to break no one? |
I suppose |
Thanks Tyler. |
__len__
.
Add a test to trigger uncovered path innd_grid
corresponding tolen
probe of emptymgrid
instance.Now, just removing the unused method