I have a class whose function defined like this. My intention is to send multiple arguments to it .
在测试方面,我称之为“:等名称(“argument1”、“argument2”)
。
def __init__(self, **options):
for name in options:
self.__dict__[name] = options[name]
如何妥善处理这一问题?
Any suggestions welcome......