Use of the functools.partial to create partial functions.