replace int | SupportsIndex with SupportsIndex#15389
Conversation
This comment has been minimized.
This comment has been minimized.
|
I think we did this deliberately in the past because IDE users might find |
|
Should we leave #15388 (comment) as |
|
we're probably not very consistent one way or another right now. I don't have a strong opinion either way. We probably should try to be more consistent about things. |
Closes: python#15390 Also also occurred in python#15389 Previous issue on linux: python#14886
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
srittau
left a comment
There was a problem hiding this comment.
Let's standardize on SupportsIndex for now. If we want to list int explicitly, we should probably add a flake-pyi check to ensure we're consistent.
|
SGTM |
No description provided.