Hacker News new | ask | show | jobs
by aprdm 1356 days ago
Nope, that's a language level feature. Your code will also fail at runtime. The IDE is just turning it on.
1 comments

I don't think that's how it works. Unless you install a library like typeguard python doesn't do runtime type validation