Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@accepts(t=Tuple(int)) def sum_tuple(t): return sum(t)
Type dispatch and validation for run-time Python