mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix typo (GH-23019)
Fixed possible typo in comment
(cherry picked from commit bfe544d2f2
)
Co-authored-by: Harry <harry.lees@gmail.com>
This commit is contained in:
parent
12bfc595c4
commit
2603d77a6b
1 changed files with 1 additions and 1 deletions
|
@ -2358,7 +2358,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…
Add table
Add a link
Reference in a new issue