8000 Fix typo (GH-23019) · python/cpython@20d4375 · GitHub
[go: up one dir, main page]

Skip to content

Commit 20d4375

Browse files
Fix typo (GH-23019)
Fixed possible typo in comment (cherry picked from commit bfe544d) Co-authored-by: Harry <harry.lees@gmail.com>
1 parent 12ec8ce commit 20d4375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2323,7 +2323,7 @@ def _name_from_offset(delta):
23232323
# This is again a requirement for a sane tzinfo class.
23242324
#
23252325
# 4. (x+k).s = x.s
2326-
# This follows from #2, and that datimetimetz+timedelta preserves tzinfo.
2326+
# This follows from #2, and that datetime.timetz+timedelta preserves tzinfo.
23272327
#
23282328
# 5. (x+k).n = x.n + k
23292329
# Again follows from how arithmetic is defined.

0 commit comments

Comments
 (0)
0