FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TYP: Allow `ndindex` to accept integer tuples by BvB93 · Pull Request #20710 · numpy/numpy · GitHub

/ numpy Public

TYP: Allow ndindex to accept integer tuples - #20710

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

charris merged 1 commit into
numpy:mainfrom
BvB93:ndindex

Conversation

BvB93 commented Jan 2, 2022

Copy link
Copy Markdown
Member

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 commented Jan 2, 2022

Copy link
Copy Markdown
Member

Thanks Bas.

BvB93 deleted the ndindex branch January 2, 2022 15:30
charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 4, 2022
charris removed this from the 1.22.1 release milestone Jan 4, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL