From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:46:23 +0000 (-0800) Subject: Fix typo (GH-23019) X-Git-Tag: v3.8.8rc1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20d43758c317b52683505ab9c575b847dbbff93e;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 9777e88df6ca..aef8ca697255 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -2323,7 +2323,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.