Python keyword-only and position-only arguments

May 15, 2022

def function(pos1, pos2, /, pos_or_kwd, *, kwd1, kwd2):
  ...