E547 TYP: fix `NDArray[integer]` inplace operator mypy issue by jorenham · Pull Request #29092 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Conversation

jorenham
Copy link
Member
@jorenham jorenham commented May 30, 2025

fixes python/mypy#19171


Note that this does not affect the return type; this just broadens the input (self) type.

The unsignedinteger overloads could be removed because _ArrayLikeInt_co already covers the array-likes of integer or bool.

@charris charris merged commit e699298 into numpy:main May 30, 2025
76 checks passed
@charris
Copy link
Member
charris commented May 30, 2025

Thanks Joren.

@jorenham jorenham deleted the typing/mypy-19171 branch May 30, 2025 21:47
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label May 31, 2025
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.

"Invalid self argument" for numpy's iadd

2 participants

0