From: Vivien Maisonneuve Date: Tue, 19 Aug 2014 12:56:48 +0000 (+0200) Subject: Fix docstring of Point.__sub__() X-Git-Tag: 1.0~49 X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/commitdiff_plain/5e2869e71d0b59be3f6981e0444ee7d466ac0c07?ds=sidebyside Fix docstring of Point.__sub__() --- 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):