Skip to content

Conversation

@ilevkivskyi
Copy link
Member

Fixes #14641

I don't think we have a test case for this, and although it is a bit in a grey area (because of x: Any = None), I think we should allow this.

@ilevkivskyi ilevkivskyi merged commit 693e1d8 into python:master Jun 15, 2024
@ilevkivskyi ilevkivskyi deleted the add-test-ver-self branch June 15, 2024 14:28
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.

Self as return type annotation in overloads raises error

1 participant