-
Michael Hanselmann authored
The function's code was mostly copied from Python's documentation and it's equivalent to “functools.partial” in Python 2.5 and above. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com>
fde0203b