From: Martin Panter Date: Mon, 30 May 2016 04:08:23 +0000 (+0000) Subject: Issue #27125: Remove duplicated words in exception message X-Git-Tag: v3.6.0a2~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd780e442343cd8eda7b7ece16288f07eece6b52;p=thirdparty%2FPython%2Fcpython.git Issue #27125: Remove duplicated words in exception message --- diff --git a/Lib/datetime.py b/Lib/datetime.py index d4b7fc45d5bc..b1321a34e383 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))