Skip to content

Commit

Permalink
Merge commit 'e02303c'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 10, 2024
2 parents f84e1ee + e02303c commit 877fd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path/masks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import operator
import re

# from jaraco.functools
from typing import Any, Callable


# from jaraco.functools
def compose(*funcs: Callable[..., Any]) -> Callable[..., Any]:
compose_two = lambda f1, f2: lambda *args, **kwargs: f1(f2(*args, **kwargs)) # noqa
return functools.reduce(compose_two, funcs)
Expand Down

0 comments on commit 877fd34

Please sign in to comment.