Skip to content

TYP: remove unnecessary scalar-type Any type-args #28811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

jorenham
Copy link
Member

Following #27736, this replaces ((?:(?:un)?signed)?integer|(?:complex)?floating|inexact|number)\[Any(?:, Any)?\] with $1.

This comment has been minimized.

@jorenham jorenham marked this pull request as draft April 24, 2025 02:48
@jorenham

This comment was marked as resolved.

@jorenham jorenham force-pushed the typing/scalar-types-without-any branch from cf5dfaa to e5bbc06 Compare April 24, 2025 16:45

This comment has been minimized.

@jorenham jorenham marked this pull request as ready for review April 24, 2025 16:59
@charris

This comment was marked as resolved.

@jorenham jorenham force-pushed the typing/scalar-types-without-any branch from e5bbc06 to 1ce9ab4 Compare April 24, 2025 21:16
@jorenham

This comment was marked as resolved.

@jorenham jorenham force-pushed the typing/scalar-types-without-any branch from 1ce9ab4 to 3d4e1bb Compare April 25, 2025 16:21
@charris charris merged commit 51a0bcd into numpy:main Apr 25, 2025
75 checks passed
@charris
Copy link
Member

charris commented Apr 25, 2025

Thanks Joren.

@jorenham jorenham deleted the typing/scalar-types-without-any branch April 25, 2025 21:23
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