Skip to content

Commit c471252

Browse files
committed
Allow type_to to be an object
1 parent 731b20d commit c471252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plum/promotion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _promotion_rule(type1, type2):
135135

136136

137137
@_dispatch
138-
def add_promotion_rule(type1: object, type2: object, type_to: type) -> None:
138+
def add_promotion_rule(type1: object, type2: object, type_to: object) -> None:
139139
"""Add a promotion rule.
140140
141141
Args:

0 commit comments

Comments
 (0)