def METHOD_NAME(self, a, units="degrees"):
    """
    Returns the angle in degrees from the vector a to self.
    Parameters
    ----------
    a : Point, QPointF or QPoint
        The Point to return the angle with
    units : str, optional
        The units with which to compute the angle with, "degrees" or "radians",
        default "degrees"
    Returns
    -------
    float
        The angle between two vectors
    """
    rads = atan2(self.y(), self.x()) - atan2(a.y(), a.x())
    if units == "radians":
        return rads
    return degrees(rads)