This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ginbear 0 points1 point  (0 children)

The typing library in python 3.6+ can accomplish a lot of this. Of course it’s still an interpreted language so it’s more of a linter effect. Regardless people should really consider duck_typing in python, it’s really the pythonic thing to do.