- if not isinstance(other, Vector):
- return NotImplemented
- coordinates = self._map2(other, operator.add)
- return Point(coordinates)
+ if isinstance(other, Vector):
+ coordinates = self._map2(other, operator.add)
+ return Point(coordinates)
+ return NotImplemented