-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
TYP: Type MaskedArray.__{add,radd,sub,rsub}__
#29012
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
Open
MarcoGorelli
wants to merge
6
commits into
numpy:main
Choose a base branch
from
MarcoGorelli:ma-arithmetic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9bc7b74
TYP: Type ``MaskedArray.__{add,radd,sub,rsub}__``
MarcoGorelli 02fbee2
Merge remote-tracking branch 'upstream/main' into ma-arithmetic
MarcoGorelli 5889f5c
"in-sync" comment in test, copy comment in __radd__, use _AnyShape
MarcoGorelli d605c2f
noop
MarcoGorelli dd7293b
Merge remote-tracking branch 'upstream/main' into ma-arithmetic
MarcoGorelli 93edb06
Merge remote-tracking branch 'upstream/main' into ma-arithmetic
MarcoGorelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
TYP: Type
MaskedArray.__{add,radd,sub,rsub}__
- Loading branch information
commit 9bc7b74b0f790d4c7ea7e25705277f1de679a440
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
it might also be a good idea to mirror these comments on
ndarray
side in__init__.pyi
thenThere 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.
would you mind adding those there?
Uh oh!
There was an error while loading. Please reload this page.
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.
not sure what I'm missing sorry 😄
in
ndarray.__add__
, I don't see comments:numpy/numpy/__init__.pyi
Lines 2811 to 2857 in 4125f0a
in
ndarray.__radd__
, there's a single comment, which I've mirrored:numpy/numpy/__init__.pyi
Line 2856 in 4125f0a
and in
ndarray.__sub__
andndarray.__rsub__
i don't see commentsThere 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.
Oh haha. I meant that it would help to add it to
__init__.pyi
as well, because it indeed isn't there yet :)