8000 TYP: Test ``MaskedArray.transpose`` and ``MaskedArray.T``, remove unnecessary annotations by MarcoGorelli · Pull Request #28905 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TYP: Test MaskedArray.transpose and MaskedArray.T, remove unnecessary annotations #28905

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
May 5, 2025

Conversation

MarcoGorelli
Copy link
Member

These tests pass for free by just removing

    T: Any
    transpose: Any

These are inherited from ndarray, and are typed using Self anyway, so I don't think they're necessary?

@MarcoGorelli MarcoGorelli marked this pull request as ready for review May 5, 2025 15:43
@jorenham jorenham self-requested a review May 5, 2025 17:56
@jorenham jorenham added the component: numpy.ma masked arrays label May 5, 2025
@jorenham jorenham merged commit 3418372 into numpy:main May 5, 2025
76 checks passed
@jorenham
Copy link
Member
jorenham commented May 5, 2025

Thanks Marco

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
0