I guess the only workaround would be something like:
```
Real = typing.Union[int, float, Fraction]
Dec = typing.Union[int, Decimal]
```
And then for every function/method, I would have to do:
```
@typing.overload
def add(a: Real, b: Real) -> Real:
...
@typing.overload
def add(a: Dec, b: Dec) -> Dec:
...
def add(a, b):
pass
```
?
```
Real = typing.Union[int, float, Fraction]
Dec = typing.Union[int, Decimal]
```
And then for every function/method, I would have to do:
```
@typing.overload
def add(a: Real, b: Real) -> Real:
...
@typing.overload
def add(a: Dec, b: Dec) -> Dec:
...
def add(a, b):
pass
```
?