Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
charris merged 2 commits into
numpy:maintenance/1.21.xnumpy/numpy:maintenance/1.21.xfrom
BvB93:shadowBvB93/numpy:shadowCopy head branch name to clipboard
Nov 2, 2021
Merged

BUG: Fix shadowed reference of dtype in type stub#20278
charris merged 2 commits into
numpy:maintenance/1.21.xnumpy/numpy:maintenance/1.21.xfrom
BvB93:shadowBvB93/numpy:shadowCopy head branch name to clipboard

Conversation

@BvB93

@BvB93 BvB93 commented Nov 2, 2021

Copy link
Copy Markdown
Member

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 41 - 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

charris commented Nov 2, 2021

Copy link
Copy Markdown
Member

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.