projects
/
linpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59770a7
)
Remove Vector.__slots__, useless
author
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Fri, 11 Jul 2014 16:09:48 +0000
(18:09 +0200)
committer
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Fri, 11 Jul 2014 17:49:28 +0000
(19:49 +0200)
pypol/coordinates.py
patch
|
blob
|
history
diff --git
a/pypol/coordinates.py
b/pypol/coordinates.py
index
a880178
..
d392e37
100644
(file)
--- a/
pypol/coordinates.py
+++ b/
pypol/coordinates.py
@@
-120,10
+120,6
@@
class Vector(Coordinates):
This class represents displacements in space.
"""
This class represents displacements in space.
"""
- __slots__ = (
- '_coordinates',
- )
-
def __new__(cls, initial, terminal=None):
if not isinstance(initial, Point):
initial = Point(initial)
def __new__(cls, initial, terminal=None):
if not isinstance(initial, Point):
initial = Point(initial)