5 ms·
I forget which version it starts in, but in newer python’s you can have keyword only arguments (they can’t be positional like in your example) def calc_for
by solarmist 5y ago
I forget which version it starts in, but in newer python’s you can have keyword only arguments (they can’t be positional like in your example)
def calc_formula(first, second, *, is_gain=False):
…