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

Skip to content

Commit 2603d77

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 12bfc59 commit 2603d77

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
@@ -2358,7 +2358,7 @@ def _name_from_offset(delta):
23582358
# This is again a requirement for a sane tzinfo class.
23592359
#
23602360
# 4. (x+k).s = x.s
2361-
# This follows from #2, and that datimetimetz+timedelta preserves tzinfo.
2361+
# This follows from #2, and that datetime.timetz+timedelta preserves tzinfo.
23622362
#
23632363
# 5. (x+k).n = x.n + k
23642364
# Again follows from how arithmetic is defined.

0 commit comments

Comments
 (0)
0