summaryrefslogtreecommitdiff
path: root/src/isodate/duration.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/isodate/duration.py')
-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 f771b54..d533a6f 100644
--- a/src/isodate/duration.py
+++ b/src/isodate/duration.py
@@ -19,7 +19,7 @@ def fquotmod(val, low, high):
a, b = val - low, high - low
div = (a / b).to_integral(ROUND_FLOOR)
mod = a - div * b
- # if we were not usig Decimal, it would look like this.
+ # if we were not using Decimal, it would look like this.
# div, mod = divmod(val - low, high - low)
mod += low
return int(div), mod
@@ -225,7 +225,7 @@ class Duration:
def __rsub__(self, other):
"""
- It is possible to subtract Duration objecs from date, datetime and
+ It is possible to subtract Duration objects from date, datetime and
timedelta objects.
TODO: there is some weird behaviour in date - timedelta ...