argument checking using decorators
Have you ever wanted to just decorate the hell out of your functions and methods because you hated typing the same typechecks over and over again? Well, suffer no more, because we have a fabsolutely wonderful solution for you!
Nice and useful, thanks for sharing! :)
Obligatory reminder to only use type checks in Python if you really need to, e.g. when it would subtly break later and you don't want that or if the behaviour depends on a certain type being supplied. Otherwise:
🦆-type away… 😌