From: Vivien Maisonneuve Date: Fri, 11 Jul 2014 14:22:21 +0000 (+0200) Subject: Remove duplicate methods in coordinates.py, continued X-Git-Tag: 1.0~129 X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/commitdiff_plain/e7f3590c9ffe5b309c11048f12888e18b3b82529?ds=inline Remove duplicate methods in coordinates.py, continued --- diff --git a/pypol/coordinates.py b/pypol/coordinates.py index 44b9e9d..69d498e 100644 --- a/pypol/coordinates.py +++ b/pypol/coordinates.py @@ -227,8 +227,3 @@ class Vector(Coordinates): 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)