(self, names, **kwargs)
names can be a string or a list to pass args aliases at once
names can be a string or a list to pass args aliases at once
names can be a string or a list to pass args aliases at once
def add_optional_arg(self, names, **kwargs):
		""" names can be a string or a list to pass args aliases at once """
		if not type(names) is list and not type(names) is tuple:
			names=[names]
		for name in names:
			self.conf["optional_args"].append((name, kwargs))
def add_optional_arg ( self , names , * * kwargs ) : if not type ( names ) is list and not type ( names ) is tuple : names = [ names ] for name in names : self . conf [ "optional_args" ] . append ( ( name , kwargs ) )