X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/ba15f3f33f837b1291f74bc94081e99b860d3228..5e2869e71d0b59be3f6981e0444ee7d466ac0c07:/linpy/geometry.py?ds=sidebyside 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):