AttributeError: 'function' object has no attribute 'register' when using functools.singledispatch
AttributeError: 'function' object has no attribute 'register' when using functools.singledispatch Question: Goal: create a single-dispatch generic function; as per functools documentation. I want to use my_func() to calculate dtypes: int or list, in pairs. Note: I’ve chosen to implement type hints and to raise errors for my own test cases, outside of the scope of …