Replies: 2 comments 1 reply
|
I think your question is based on faulty assumptions. Refer to this explanation for details. |
1 reply
|
@erictraut I made a proposal for |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/python/typeshed/blob/f28cb8b8562ccc382d018129ba4886f241c6db9c/stdlib/builtins.pyi#L146-L160
Pyright special cases (hard codes)
classmethod, and I'm pretty sure other type checkers do too. By doing so, they avoid having to parse the above type annotations and work with descriptors correctly.3 votes ·
All reactions