What is an efficient way to check that all the arguments passed into a function are instances of str?
def foo(*args):
    assert isinstance(*args, str)
    ...
Would it be to do it in a for loop or is there a better way?
What is an efficient way to check that all the arguments passed into a function are instances of str?
def foo(*args):
    assert isinstance(*args, str)
    ...
Would it be to do it in a for loop or is there a better way?
