Skip to content

Commit

Permalink
Update plum/function.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wessel <[email protected]>
  • Loading branch information
gabrieldemarmiesse and wesselb authored Aug 21, 2023
1 parent 6db8809 commit 66e58c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plum/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def _handle_not_found_lookup_error(
raise ex
return method, return_type

def __call__(self, *args: object, **kw_args: object):
def __call__(self, *args: object, **kw_args: object) -> object:
method, return_type = self._resolve_method_with_cache(args=args)
return _convert(method(*args, **kw_args), return_type)

Expand Down

0 comments on commit 66e58c7

Please sign in to comment.