diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py index 84917038874ba1..d831f62b4559d0 100644 --- a/Lib/email/_parseaddr.py +++ b/Lib/email/_parseaddr.py @@ -59,7 +59,7 @@ def _parsedate_tz(data): The last (additional) element is the time zone offset in seconds, except if the timezone was specified as -0000. In that case the last element is - None. This indicates a UTC timestamp that explicitly declaims knowledge of + None. This indicates a UTC timestamp that explicitly disclaims knowledge of the source timezone, as opposed to a +0000 timestamp that indicates the source timezone really was UTC. diff --git a/Misc/NEWS.d/next/Library/2025-05-21-17-05-31.gh-issue-101913.lbdlVA.rst b/Misc/NEWS.d/next/Library/2025-05-21-17-05-31.gh-issue-101913.lbdlVA.rst new file mode 100644 index 00000000000000..aa969541215e52 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-05-21-17-05-31.gh-issue-101913.lbdlVA.rst @@ -0,0 +1,2 @@ +Changed wording of docstring in _parsedate_tz to say "disclaims" instead of "declaims" for improved clarity, as it confused some users. +Contributed by Gustaf Gyllensporre.