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

BUG: Fix shadowed reference of dtype in type stub #20278

Merged
merged 2 commits into from Nov 2, 2021

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Nov 2, 2021

Backport of #20224


Direct use of dtype in ndarray or generic would be shadowed by
ndarray.dtype or generic.dtype, so an alias is used here.

See #20223.

Azureblade3808 and others added 2 commits November 2, 2021 10:31
Direct use of `dtype` in `ndarray` or `generic` would be shadowed by
`ndarray.dtype` or `generic.dtype`, so an alias is used here.

See numpy#20223.
@BvB93 BvB93 added 08 - Backport Used to tag backport PRs Static typing labels Nov 2, 2021
@BvB93 BvB93 added this to the 1.21.4 release milestone Nov 2, 2021
@charris charris merged commit 85f64da into numpy:maintenance/1.21.x Nov 2, 2021
@charris
Copy link
Member

charris commented Nov 2, 2021

Thanks Bas.

@BvB93 BvB93 deleted the shadow branch November 2, 2021 22:19
@charris charris changed the title BUG: Fix shadowed reference of dtype in type stub BUG: Fix shadowed reference of dtype in type stub Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants