diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:08:23 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:08:23 (GMT) |
commit | dd780e442343cd8eda7b7ece16288f07eece6b52 (patch) | |
tree | 7c038daa9ec65f7bdb783f9f4fe50a10d4ec145a /Lib/datetime.py | |
parent | e514093a2ff13c2479dae7967fa21fef21e62267 (diff) | |
download | cpython-dd780e442343cd8eda7b7ece16288f07eece6b52.zip cpython-dd780e442343cd8eda7b7ece16288f07eece6b52.tar.gz cpython-dd780e442343cd8eda7b7ece16288f07eece6b52.tar.bz2 |
Issue #27125: Remove duplicated words in exception message
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r-- | Lib/datetime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py index d4b7fc4..b1321a3 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -254,7 +254,7 @@ def _check_utc_offset(name, offset): raise ValueError("tzinfo.%s() must return a whole number " "of minutes, got %s" % (name, offset)) if not -timedelta(1) < offset < timedelta(1): - raise ValueError("%s()=%s, must be must be strictly between " + raise ValueError("%s()=%s, must be strictly between " "-timedelta(hours=24) and timedelta(hours=24)" % (name, offset)) |