aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry <harry.lees@gmail.com>2021-02-03 21:25:28 +0000
committerGitHub <noreply@github.com>2021-02-03 13:25:28 -0800
commitbfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c (patch)
treef8998b77f41a106d73ff28b3154c8c4f54b46fd0
parentbuild(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-24411) (diff)
downloadcpython-bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c.tar.gz
cpython-bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c.tar.bz2
cpython-bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c.zip
Fix typo (GH-23019)
Fixed possible typo in comment
-rw-r--r--Lib/datetime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index b896b94b0fe..6bf37ccfab7 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -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.