Use Python’s type annotations for runtime type checking with typeguard
Two functions are provided, potentially for use with the assert statement: (more…)
Read more »Don’t worry, this isn’t another piece about Python 3. I’m fully in favor of Python 3, and on record as to why. And if you’re still not convinced, I suggest this thoroughly comprehensive article on the topic, which goes over not just the bits peopl…