@juanpa.arrivillaga answer in the optimal form.
from functools import singledispatchmethod
class Polynomial:
@singledispatchmethod
def __add__(self, other):
return NotImplemented
@Polynomial.__add__.register
def _(self, other: Polynomial):
return NotImplemented