We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zoneinfo
1 parent 46107ad commit 585e14cCopy full SHA for 585e14c
1 file changed
Lib/zoneinfo/_common.py
@@ -26,7 +26,7 @@ def load_tzdata(key):
26
# UnicodeEncodeError: If package_name or resource_name are not UTF-8,
27
# such as keys containing a surrogate character.
28
# IsADirectoryError: If package_name without a resource_name specified.
29
- raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
+ raise ZoneInfoNotFoundError(f"No time zone found with key {key!r}")
30
31
32
def load_data(fobj):
0 commit comments