generic function in python - calling a method with unknown number of arguments,"func(1, *args, **kwargs)"