diff options
author | Gerhard Weis <g.weis@griffith.edu.au> | 2017-10-13 14:26:20 +1000 |
---|---|---|
committer | Gerhard Weis <g.weis@griffith.edu.au> | 2017-10-13 14:26:20 +1000 |
commit | e38bd2eed4d1b696fea1512e6bc7f59ca4c13801 (patch) | |
tree | a4556f815e031765d8c0857312a207befe49960e /src | |
parent | f0e777df9fe8cb13e2cbfb938e0a0825b88ff679 (diff) | |
download | isodate-e38bd2eed4d1b696fea1512e6bc7f59ca4c13801.tar.gz |
typo
Diffstat (limited to 'src')
-rw-r--r-- | src/isodate/duration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/isodate/duration.py b/src/isodate/duration.py index c47b964..6d1848c 100644 --- a/src/isodate/duration.py +++ b/src/isodate/duration.py @@ -166,7 +166,7 @@ class Duration(object): return newduration try: # try anything that looks like a date or datetime - # other has attributes year, month, day + # 'other' has attributes year, month, day # and relies on 'timedelta + other' being implemented if (not(float(self.years).is_integer() and float(self.months).is_integer())): @@ -193,7 +193,7 @@ class Duration(object): newduration.tdelta = self.tdelta + other return newduration except AttributeError: - # ignore ... other probably was not a timedelt compatible object + # ignore ... other probably was not a timedelta compatible object pass # we have tried everything .... return a NotImplemented return NotImplemented |