summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude <github@claude.nl>2015-09-03 08:22:02 +0200
committerClaude <github@claude.nl>2015-09-03 08:22:02 +0200
commita41b63f8841e7b5e804c0b328e90cd22f731cb72 (patch)
tree46608cb75df8b4a39c3407d00658353533ee7ca2
parent7bdb02f3901fb897b29b78c784820a59779a3282 (diff)
downloadisodate-a41b63f8841e7b5e804c0b328e90cd22f731cb72.tar.gz
typo
-rw-r--r--src/isodate/duration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/isodate/duration.py b/src/isodate/duration.py
index a901865..5408315 100644
--- a/src/isodate/duration.py
+++ b/src/isodate/duration.py
@@ -216,7 +216,7 @@ class Duration(object):
months=self.months * other)
newduration.tdelta = self.tdelta * other
return newduration
- raise TypeError('unsupported operand type(s) for +: %s and %s' %
+ raise TypeError('unsupported operand type(s) for *: %s and %s' %
(self.__class__, other.__class__))
def __rmul__(self, other):
@@ -227,7 +227,7 @@ class Duration(object):
months=self.months * other)
newduration.tdelta = self.tdelta * other
return newduration
- raise TypeError('unsupported operand type(s) for +: %s and %s' %
+ raise TypeError('unsupported operand type(s) for *: %s and %s' %
(other.__class__, self.__class__))
def __sub__(self, other):