Skip to content

TYP: Allow ndindex to accept integer tuples#20710

Merged
charris merged 1 commit intonumpy:mainfrom
BvB93:ndindex
Jan 2, 2022
Merged

TYP: Allow ndindex to accept integer tuples#20710
charris merged 1 commit intonumpy:mainfrom
BvB93:ndindex

Conversation

@BvB93
Copy link
Copy Markdown
Member

@BvB93 BvB93 commented Jan 2, 2022

closes #20706

The np.ndindex constructor accepts either an integer tuple or an arbitrary number of integers.
An overload for the former was argument type was previously missing.

@charris
Copy link
Copy Markdown
Member

charris commented Jan 2, 2022

Thanks Bas.

@BvB93 BvB93 deleted the ndindex branch January 2, 2022 15:30
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 4, 2022
@charris charris removed this from the 1.22.1 release milestone Jan 4, 2022
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.

BUG: Type annotation for np.ndindex doesn't accept tuples

2 participants