From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:48:22 +0000 (-0800) Subject: Fix typo (GH-23019) X-Git-Tag: v3.9.2rc1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2603d77a6b3200f08b890bd9bb4dc821970d68fe;p=thirdparty%2FPython%2Fcpython.git Fix typo (GH-23019) Fixed possible typo in comment (cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c) Co-authored-by: Harry --- diff --git a/Lib/datetime.py b/Lib/datetime.py index e508d996fb1e..23d2bf091814 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -2358,7 +2358,7 @@ _EPOCH = datetime(1970, 1, 1, tzinfo=timezone.utc) # This is again a requirement for a sane tzinfo class. # # 4. (x+k).s = x.s -# This follows from #2, and that datimetimetz+timedelta preserves tzinfo. +# This follows from #2, and that datetime.timetz+timedelta preserves tzinfo. # # 5. (x+k).n = x.n + k # Again follows from how arithmetic is defined.