Skip to content

Commit 74f897e

Browse files
Remove unused code from _pydatetime.py (GH-133768)
It should have been removed in PR #7549 (bcb032e).
1 parent 4274b47 commit 74f897e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/_pydatetime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,6 @@ def _local_timezone(self):
20892089
else:
20902090
ts = (self - _EPOCH) // timedelta(seconds=1)
20912091
localtm = _time.localtime(ts)
2092-
local = datetime(*localtm[:6])
20932092
# Extract TZ data
20942093
gmtoff = localtm.tm_gmtoff
20952094
zone = localtm.tm_zone

0 commit comments

Comments
 (0)