python equivalent of functools 'partial' for a class / constructor python equivalent of functools 'partial' for a class / constructor python python