Skip to content Skip to sidebar Skip to footer
Showing posts with the label Typechecking

Do Type Annotations In Python Enforce Static Type Checking?

I'm trying to enforce some static type checking in a project written in Python, using typing mo… Read more Do Type Annotations In Python Enforce Static Type Checking?

Check If Input Is A List/tuple Of Strings Or A Single String

I've a method that I want to be able to accept either a single string (a path, but not necessar… Read more Check If Input Is A List/tuple Of Strings Or A Single String