diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index e3db1b52b1159b..9448f2a0a5f462 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -2089,7 +2089,6 @@ def _local_timezone(self): else: ts = (self - _EPOCH) // timedelta(seconds=1) localtm = _time.localtime(ts) - local = datetime(*localtm[:6]) # Extract TZ data gmtoff = localtm.tm_gmtoff zone = localtm.tm_zone