TYP: ``bincount`` shape-typing by jorenham · Pull Request #30536 · numpy/numpy · GitHub
Skip to content

TYP: bincount shape-typing - #30536

Merged
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/bincount-shape
Dec 28, 2025
Merged

charris merged 1 commit into
numpy:mainfrom
jorenham:typing/bincount-shape

Conversation

@jorenham

Copy link
Copy Markdown
Member

It always returns a 1d array, and with this the type-checkers also know.

@charris
charris merged commit bd83855 into numpy:main Dec 28, 2025
14 checks passed
@charris

charris commented Dec 28, 2025

Copy link
Copy Markdown
Member

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