Skip to content

Commit

Permalink
Update promotion.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb authored May 14, 2024
1 parent 37f473b commit 2e7a4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plum/promotion.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __call__(self, obj: T) -> R:


def add_conversion_method(
type_from: Type[T], type_to: Type[R], f: _ConversionCallable
type_from: Type[T], type_to: Type[R], f: _ConversionCallable[T, R],
) -> None:
"""Add a conversion method to convert an object from one type to another.
Expand Down

0 comments on commit 2e7a4e0

Please sign in to comment.