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

MAINT: Add annotations for dtype.__getitem__, __mul__ and names #18599

Merged
merged 1 commit into from Mar 13, 2021

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Mar 11, 2021

Backport of #18598.
Closes #18597.

A couple of method-annotations were missing from np.dtype; they have now been added:

  • __getitem__
  • __mul__ and __rmul__
  • names

@BvB93 BvB93 added this to the 1.20.2 release milestone Mar 11, 2021
@BvB93 BvB93 linked an issue Mar 11, 2021 that may be closed by this pull request
@rgommers rgommers merged commit a21cbb1 into numpy:maintenance/1.20.x Mar 13, 2021
@BvB93 BvB93 deleted the getitem_backport branch March 15, 2021 13:37
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.

Missing type annotation for dtype.__getitem__
2 participants