summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-24 14:58:25 (GMT)
committerGitHub <noreply@github.com>2020-05-24 14:58:25 (GMT)
commit4bb4cde1777267c92c1bfc0f537cee08102d66a4 (patch)
tree43a16e2ad6a2c2198a970d6a4321ac9c58b78daf
parentebf650532b41f5e64a5620b8e47acc3a99555e14 (diff)
downloadcpython-4bb4cde1777267c92c1bfc0f537cee08102d66a4.zip
cpython-4bb4cde1777267c92c1bfc0f537cee08102d66a4.tar.gz
cpython-4bb4cde1777267c92c1bfc0f537cee08102d66a4.tar.bz2
bpo-40443: Remove unused imports in the zoneinfo (GH-20354)
(cherry picked from commit 3436f5f899f272d7164add072beb18eebd46d777) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
-rw-r--r--Lib/zoneinfo/_tzpath.py1
-rw-r--r--Lib/zoneinfo/_zoneinfo.py3
2 files changed, 0 insertions, 4 deletions
diff --git a/Lib/zoneinfo/_tzpath.py b/Lib/zoneinfo/_tzpath.py
index c4c671d..9e381b6 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 69133ae..b207dd3 100644
--- a/Lib/zoneinfo/_zoneinfo.py
+++ b/Lib/zoneinfo/_zoneinfo.py
@@ -2,10 +2,7 @@ import bisect
import calendar
import collections
import functools
-import os
import re
-import struct
-import sys
import weakref
from datetime import datetime, timedelta, timezone, tzinfo