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

Remove `Any` annotations by srittau · Pull Request #11347 · python/typeshed · GitHub

Repository navigation

Remove Any annotations - #11347

Merged
srittau merged 3 commits into
python:mainfrom
srittau:numbers-any
Jan 30, 2024
Merged

srittau merged 3 commits into
python:mainfrom
srittau:numbers-any

Conversation

srittau commented Jan 30, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

This comment has been minimized.

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

steam.py (https://github.com/Gobot1234/steam.py)
+ steam/ext/tf2/currency.py:100: note:      Superclass:
+ steam/ext/tf2/currency.py:100: note:          @overload
+ steam/ext/tf2/currency.py:100: note:          def __sub__(a, int | Fraction, /) -> Fraction
+ steam/ext/tf2/currency.py:100: note:          @overload
+ steam/ext/tf2/currency.py:100: note:          def __sub__(a, float, /) -> float
+ steam/ext/tf2/currency.py:100: note:          @overload
+ steam/ext/tf2/currency.py:100: note:          def __sub__(a, complex, /) -> complex
+ steam/ext/tf2/currency.py:100: note:      Subclass:
+ steam/ext/tf2/currency.py:100: note:          def __sub__(self, int | str | float | Fraction | Decimal, /) -> Metal

srittau merged commit 8e872a0 into python:main Jan 30, 2024
srittau deleted the numbers-any branch January 30, 2024 14:17

Avasam commented Feb 14, 2024

Copy link
Copy Markdown
Collaborator

xref #9550

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL