]> granicus.if.org Git - python/commit
bpo-33810 Remove unused code from datetime.py. (GH-7549)
authorAlexander Belopolsky <abalkin@users.noreply.github.com>
Fri, 8 Jun 2018 23:22:33 +0000 (19:22 -0400)
committerGitHub <noreply@github.com>
Fri, 8 Jun 2018 23:22:33 +0000 (19:22 -0400)
commitbcb032e4acdebc043a7659a06e6037fe71020860
tree07c50dcbb30667ccb9110fc8a332da17b73b274d
parent4c3e39f61c6a759aa1370497ea3597f3564f9da0
bpo-33810 Remove unused code from datetime.py. (GH-7549)

Since implementation of bpo-25283, the objects returned by time.localtime
always have tm_zone and tm_gmtoff attributes.  Remove code that
anticipates their absence.
Lib/datetime.py