mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #27125: Remove duplicated words in exception message
This commit is contained in:
parent
e514093a2f
commit
dd780e4423
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue