[Python-checkins] bpo-40443: Remove unused imports in the zoneinfo (GH-20354)
Dong-hee Na
webhook-mailer at python.org
Sun May 24 10:37:16 EDT 2020
https://github.com/python/cpython/commit/3436f5f899f272d7164add072beb18eebd46d777
commit: 3436f5f899f272d7164add072beb18eebd46d777
branch: master
author: Dong-hee Na <donghee.na92 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-24T23:37:08+09:00
summary:
bpo-40443: Remove unused imports in the zoneinfo (GH-20354)
files:
M Lib/zoneinfo/_tzpath.py
M Lib/zoneinfo/_zoneinfo.py
diff --git a/Lib/zoneinfo/_tzpath.py b/Lib/zoneinfo/_tzpath.py
index c4c671d30dbdd..9e381b6e4434b 100644
--- a/Lib/zoneinfo/_tzpath.py
+++ b/Lib/zoneinfo/_tzpath.py
@@ -1,5 +1,4 @@
import os
-import sys
import sysconfig
diff --git a/Lib/zoneinfo/_zoneinfo.py b/Lib/zoneinfo/_zoneinfo.py
index 69133ae80a493..b207dd346fe25 100644
--- a/Lib/zoneinfo/_zoneinfo.py
+++ b/Lib/zoneinfo/_zoneinfo.py
@@ -2,10 +2,7 @@
import calendar
import collections
import functools
-import os
import re
-import struct
-import sys
import weakref
from datetime import datetime, timedelta, timezone, tzinfo
More information about the Python-checkins
mailing list