]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-101913: changed wording of docstring for _parsedate_tz (GH-134446) (#150798)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jun 2026 17:52:09 +0000 (19:52 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 17:52:09 +0000 (13:52 -0400)
Fixed incorrect word.
(cherry picked from commit f7e0fb60cfaf31373c0b78e6eb954a0351e92f09)

Co-authored-by: Gustaf <79180496+gostak-dd@users.noreply.github.com>
Co-authored-by: Gustaf <79180496+GGyll@users.noreply.github.com>
Lib/email/_parseaddr.py

index 565af0cf361e66dd6c1eb43f30d9821f20bdb79f..fe63c7ee0c7e83946378ef0113f5ae0945b0ec7a 100644 (file)
@@ -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.