[Python-checkins] Fix typo (GH-23019)

miss-islington webhook-mailer at python.org
Wed Feb 3 16:46:44 EST 2021


https://github.com/python/cpython/commit/20d43758c317b52683505ab9c575b847dbbff93e
commit: 20d43758c317b52683505ab9c575b847dbbff93e
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-02-03T13:46:23-08:00
summary:

Fix typo (GH-23019)


Fixed possible typo in comment
(cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c)

Co-authored-by: Harry <harry.lees at gmail.com>

files:
M Lib/datetime.py

diff --git a/Lib/datetime.py b/Lib/datetime.py
index 9777e88df6ca4..aef8ca6972552 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -2323,7 +2323,7 @@ def _name_from_offset(delta):
 #    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.



More information about the Python-checkins mailing list