def equation(self, x='x', y='y'):
        x, y = _symbol(x), _symbol(y)
        p1, p2 = self.points
        if p1.x == p2.x:
            return x - p1.x
        elif p1.y == p2.y:
            return y - p1.y

        a, b, c = self.coefficients
        return a*x + b*y + c
Has this nomination been approved?
dataset/ETHPy150Open sympy/sympy/sympy/geometry/line.py/Line.equation--crossover with--dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Nomination.is_approved