Hacker News new | ask | show | jobs
by peterashford 1354 days ago
So that's an IDE feature rather than a language level feature
1 comments

Nope, that's a language level feature. Your code will also fail at runtime. The IDE is just turning it on.
I don't think that's how it works. Unless you install a library like typeguard python doesn't do runtime type validation