From 5e2869e71d0b59be3f6981e0444ee7d466ac0c07 Mon Sep 17 00:00:00 2001 From: Vivien Maisonneuve Date: Tue, 19 Aug 2014 14:56:48 +0200 Subject: [PATCH] Fix docstring of Point.__sub__() --- linpy/geometry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linpy/geometry.py b/linpy/geometry.py index 1a56269..5b5ed89 100644 --- a/linpy/geometry.py +++ b/linpy/geometry.py @@ -192,9 +192,9 @@ class Point(Coordinates, GeometricObject): def __sub__(self, other): """ - If other is a point, substract a point from another and returns the - resulting vector. If other is a vector, translate the point by the - opposite vector and returns the resulting point. + If other is a point, substract it from self and return the resulting + vector. If other is a vector, translate the point by the opposite vector + and returns the resulting point. """ coordinates = [] if isinstance(other, Point): -- 2.20.1