Skip to content

Commit c0f2292

Browse files
authored
[ty] Add a note to the diagnostic if a new builtin is used on an old Python version (#18068)
## Summary If the user tries to use a new builtin on an old Python version, tell them what Python version the builtin was added on, what our inferred Python version is for their project, and what configuration settings they can tweak to fix the error. ## Test Plan Snapshots and screenshots: ![image](https://github.com/user-attachments/assets/767d570e-7af1-4e1f-98cf-50e4311db511)
1 parent 5bf5f36 commit c0f2292

File tree

4 files changed

+118
-54
lines changed

4 files changed

+118
-54
lines changed

0 commit comments

Comments
 (0)