code: def distance_to_point2(self, p2: "Point2") -> Union[int, float]:
          
          return ((self[0] - p2[0]) ** 2 + (self[1] - p2[1]) ** 2) ** 0.5
docs: Same as the function above, but should be 3-4 times faster because of the dropped asserts and conversions and because it doesnt use a loop (itertools or zip).