Skip to content

TYP, MAINT: Allow ndindex to accept integer tuples#20726

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

TYP, MAINT: Allow ndindex to accept integer tuples#20726
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20710

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 4, 2022

Backport of #20710.

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 charris added this to the 1.22.1 release milestone Jan 4, 2022
@charris charris merged commit 2e61d9f into numpy:maintenance/1.22.x Jan 4, 2022
@charris charris deleted the backport-20710 branch January 4, 2022 17:54
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.

1 participant