Fix typo (GH-23019)

Fixed possible typo in comment
This commit is contained in:
Harry 2021-02-03 21:25:28 +00:00 committed by GitHub
parent aa4caf9887
commit bfe544d2f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.