rf(common_types): int is implied by float

This commit is contained in:
Benjamin Kirkbride
2020-05-30 23:27:57 -04:00
parent e46f86bbd3
commit 5c98e374f8

View File

@@ -22,8 +22,8 @@ class Size(NamedTuple):
height: The height of the object.
"""
width: Union[int, float]
height: Union[int, float]
width: float
height: float
class OrderedPair(NamedTuple):
@@ -34,5 +34,5 @@ class OrderedPair(NamedTuple):
y: Y coordinate.
"""
x: Union[int, float]
y: Union[int, float]
x: float
y: float