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

TYP, MAINT: Add a missing explicit Any parameter to the npt.ArrayLike definition #23150

Merged
merged 1 commit into from Feb 3, 2023

Conversation

charris
Copy link
Member

@charris charris commented Feb 2, 2023

Backport of #23144.

Closes #23137

While equivalent to omitting, explicitly setting generic type parameters that you don't care about to Any is considered best practice.

@charris charris added this to the 1.24.2 release milestone Feb 2, 2023
@charris
Copy link
Member Author

charris commented Feb 2, 2023

@BvB93 Ping.

@charris
Copy link
Member Author

charris commented Feb 3, 2023

Hmm, looks like there have been other changes in main, might want to skip this backport.

@charris charris merged commit bc47a5b into numpy:maintenance/1.24.x Feb 3, 2023
@charris charris deleted the backport-23144 branch February 3, 2023 04:36
@charris
Copy link
Member Author

charris commented Feb 3, 2023

The simplest option works, so much for clever.

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.

None yet

2 participants