Remove duplicate methods in coordinates.py, continued
authorVivien Maisonneuve <v.maisonneuve@gmail.com>
Fri, 11 Jul 2014 14:22:21 +0000 (16:22 +0200)
committerVivien Maisonneuve <v.maisonneuve@gmail.com>
Fri, 11 Jul 2014 14:22:47 +0000 (16:22 +0200)
pypol/coordinates.py

index 44b9e9d..69d498e 100644 (file)
@@ -227,8 +227,3 @@ class Vector(Coordinates):
             coordinates = self._map2(other, operator.sub)
             return other.__class__(coordinates)
         return NotImplemented
             coordinates = self._map2(other, operator.sub)
             return other.__class__(coordinates)
         return NotImplemented
-
-    def __repr__(self):
-        string = ', '.join(['{!r}: {!r}'.format(symbol, coordinate)
-            for symbol, coordinate in self.coordinates()])
-        return '{}({{{}}})'.format(self.__class__.__name__, string)