aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-02-03 13:48:22 -0800
committerGitHub <noreply@github.com>2021-02-03 13:48:22 -0800
commit2603d77a6b3200f08b890bd9bb4dc821970d68fe (patch)
treeafa5c5b24b4b495c8c00afe2dca491a8617efb0d
parentbpo-43108: Fix a reference leak in the curses module (GH-24420) (diff)
downloadcpython-2603d77a6b3200f08b890bd9bb4dc821970d68fe.tar.gz
cpython-2603d77a6b3200f08b890bd9bb4dc821970d68fe.tar.bz2
cpython-2603d77a6b3200f08b890bd9bb4dc821970d68fe.zip
Fix typo (GH-23019)
Fixed possible typo in comment (cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c) Co-authored-by: Harry <harry.lees@gmail.com>
-rw-r--r--Lib/datetime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index e508d996fb1..23d2bf09181 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.