]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo (GH-23019)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Feb 2021 21:46:23 +0000 (13:46 -0800)
committerGitHub <noreply@github.com>
Wed, 3 Feb 2021 21:46:23 +0000 (13:46 -0800)
Fixed possible typo in comment
(cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c)

Co-authored-by: Harry <harry.lees@gmail.com>
Lib/datetime.py

index 9777e88df6ca4f9dd20ff48a33090d4b31630f5e..aef8ca6972552ad51ed4d62e86e48ff43b1131a4 100644 (file)
@@ -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.