mirror of https://github.com/python/cpython
parent
aa4caf9887
commit
bfe544d2f2
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue