utils: Add function for partial application of function arguments
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>
Loading
Please register or sign in to comment