summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-02-03 13:46:23 -0800
committerGitHub <noreply@github.com>2021-02-03 13:46:23 -0800
commit20d43758c317b52683505ab9c575b847dbbff93e (patch)
treea8a82019ecef74ca66c5179bb872e6068b5c9a98
parentAdd link to Microsoft docs for limitations in Windows Store package (GH-24422) (diff)
downloadcpython-20d43758c317b52683505ab9c575b847dbbff93e.tar.gz
cpython-20d43758c317b52683505ab9c575b847dbbff93e.tar.bz2
cpython-20d43758c317b52683505ab9c575b847dbbff93e.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 9777e88df6c..aef8ca69725 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -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.