spock
6/11/2017 - 11:31 AM

Enforce Clarity with Keyword - Only Arguments The * symbol in the argument list indicates the end of positional arguments and the beginning

Enforce Clarity with Keyword - Only Arguments The * symbol in the argument list indicates the end of positional arguments and the beginning of keyword-only arguments.

def safe_division_c(number, divisor, *, ignore_overflow=False, ignore_zero_division=False):
      ...