]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo (GH-23019)
authorHarry <harry.lees@gmail.com>
Wed, 3 Feb 2021 21:25:28 +0000 (21:25 +0000)
committerGitHub <noreply@github.com>
Wed, 3 Feb 2021 21:25:28 +0000 (13:25 -0800)
Fixed possible typo in comment

Lib/datetime.py

index b896b94b0fe0e4e861422832440d02c9a8b0708b..6bf37ccfab7ac8625a79c0d6d529cccfd4b391dc 100644 (file)
@@ -2327,7 +2327,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.