Skip to content

TYP: change type annotation for __array_namespace__ to ModuleType#20725

Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20719
Jan 4, 2022
Merged

TYP: change type annotation for __array_namespace__ to ModuleType#20725
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20719

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 4, 2022

Backport of #20719.

This is more precise, we are returning a module here. Type checkers
will be able to use this info in the future - see
data-apis/array-api#267

This is more precise, we are returning a module here. Type checkers
will be able to use this info in the future - see
data-apis/array-api#267
@charris charris added this to the 1.22.1 release milestone Jan 4, 2022
@charris charris merged commit d39ad3a into numpy:maintenance/1.22.x Jan 4, 2022
@charris charris deleted the backport-20719 branch January 4, 2022 17:55
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.

2 participants