Fix couple inconsistencies in protocols vs TypeType by ilevkivskyi · Pull Request #19267 · python/mypy
The fix(es) here are quite straightforward, so I am going to merge this without a review, unless there are objections.
Diff from mypy_primer, showing the effect of this PR on open source code:
prefect (https://github.com/PrefectHQ/prefect) + src/prefect/utilities/services.py:129: note: Following member(s) of "Exception" have conflicts: + src/prefect/utilities/services.py:129: note: Expected: + src/prefect/utilities/services.py:129: note: def __hash__() -> int + src/prefect/utilities/services.py:129: note: Got: + src/prefect/utilities/services.py:129: note: def __hash__(self: object) -> int
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