http://docs.python.org/library/functools.html#functools.part...
This already exists in the standard library as functools.partial, except the stdlib version is better in nearly every way.
This already exists in the standard library as functools.partial, except the stdlib version is better in nearly every way.