ruff
7155a62e - [ty] Add version hint for failed stdlib attribute accesses (#20909)

Commit
117 days ago
[ty] Add version hint for failed stdlib attribute accesses (#20909) This is the ultra-minimal implementation of * https://github.com/astral-sh/ty/issues/296 that was previously discussed as a good starting point. In particular we don't actually bother trying to figure out the exact python versions, but we still mention "hey btw for No Reason At All... you're on python 3.10" when you try to access something that has a definition rooted in the stdlib that we believe exists sometimes.
Author
Parents
Loading