mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +00:00
Fix typo (GH-23019)
Fixed possible typo in comment
This commit is contained in:
parent
aa4caf9887
commit
bfe544d2f2
|
@ -2327,7 +2327,7 @@ def _name_from_offset(delta):
|
|||
# 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.
|
||||
|
|
Loading…
Reference in a new issue