def foo(*args: *int | str): ... def foo(*args: *(int or str)): ...