TYP: fix ``ndarray.strides`` decorator order by jorenham · Pull Request #29734 · numpy/numpy · GitHub
Skip to content

TYP: fix ndarray.strides decorator order#29734

Merged
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/fix-ndarray.strides-deco-order
Sep 11, 2025
Merged

TYP: fix ndarray.strides decorator order#29734
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/fix-ndarray.strides-deco-order

Conversation

@jorenham

Copy link
Copy Markdown
Member

The @deprecated decorator was added in #28925, but mypy did not like the order:

Only supported top decorator is @strides.setter (misc)

@charris charris merged commit 83eaddb into numpy:main Sep 11, 2025
80 checks passed
@charris

charris commented Sep 11, 2025

Copy link
Copy Markdown
Member

@jorenham jorenham deleted the typing/fix-ndarray.strides-deco-order branch September 11, 2025 16:16
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