summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/zoneinfo/_zoneinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zoneinfo/_zoneinfo.py b/Lib/zoneinfo/_zoneinfo.py
index 7b1718a067..9810637d3e 100644
--- a/Lib/zoneinfo/_zoneinfo.py
+++ b/Lib/zoneinfo/_zoneinfo.py
@@ -742,7 +742,7 @@ def _parse_tz_delta(tz_delta):
if not -86400 < total < 86400:
raise ValueError(
- "Offset must be strictly between -24h and +24h:" + tz_delta
+ f"Offset must be strictly between -24h and +24h: {tz_delta}"
)
# Yes, +5 maps to an offset of -5h