projects
/
linpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ec477
)
Fix docstring of Point.__sub__()
author
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Tue, 19 Aug 2014 12:56:48 +0000
(14:56 +0200)
committer
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Tue, 19 Aug 2014 12:56:48 +0000
(14:56 +0200)
linpy/geometry.py
patch
|
blob
|
history
diff --git
a/linpy/geometry.py
b/linpy/geometry.py
index
1a56269
..
5b5ed89
100644
(file)
--- 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):