mypy: Signature of “__add__” incompatible with supertype “tuple” - but everything fine with __sub__

后端 未结 0 1972
孤独总比滥情好
孤独总比滥情好 2020-12-30 03:21

I am making a simple vector class, and I\'m struggling to understand how mypy is working on my __add__ and __sub__ methods (in particular the diffe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题