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