mot-clé seulement arguments python

def fn(*, a): # only keyword arguments
    print(a)

# fn(1) # error
fn(a=1) 
Hurt Hawk