I'm working with a python package (MySQLdb). The connect method has lots of positional parameters, most of which have defaults, but some aren't easy to deduce.
How can I only specify the parameters I want?
i.e. if a connect method has the following signature:
connect(username, password, socket, timeout)
and socket has a default value which may be system-dependent
is it possible to invoke it with something like the following so I don't overwrite the default value for socket:
connect('tom', 'passwd12', , 3)