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,ENH: Mark numpy.typing protocols as runtime checkable #22388

Merged
merged 1 commit into from Oct 6, 2022

Conversation

charris
Copy link
Member

@charris charris commented Oct 6, 2022

Backport of #22357.

Closes #22352

The protocols used in npt.ArrayLike and npt.DTypeLike were previously not marked as runtime checkable while they easily could have been (the lack therefor being more of an oversight). This PR addresses aforementioned issue.

@charris charris added this to the 1.23.4 release milestone Oct 6, 2022
@charris charris merged commit bd936cc into numpy:maintenance/1.23.x Oct 6, 2022
@charris charris deleted the backport-22357 branch October 6, 2022 02:10
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