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