summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-22 19:14:27 +0200
committerGitHub <noreply@github.com>2022-06-22 19:14:27 +0200
commit47e35625ff2c4e6511a12e7178c3e4fbc965b634 (patch)
treee9a6b4d687233135f993260b12011613b9189058 /PC
parent8661c5053fbe3e246289d77e49a813470b3a16f7 (diff)
downloadcpython-git-47e35625ff2c4e6511a12e7178c3e4fbc965b634.tar.gz
gh-84623: Remove unused imports (#94132)
Diffstat (limited to 'PC')
-rw-r--r--PC/layout/main.py3
-rw-r--r--PC/layout/support/appxmanifest.py4
-rw-r--r--PC/layout/support/catalog.py2
-rw-r--r--PC/layout/support/constants.py1
4 files changed, 1 insertions, 9 deletions
diff --git a/PC/layout/main.py b/PC/layout/main.py
index 8e69ecc259..923483ad4a 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -8,11 +8,8 @@ __author__ = "Steve Dower <steve.dower@python.org>"
__version__ = "3.8"
import argparse
-import functools
import os
-import re
import shutil
-import subprocess
import sys
import tempfile
import zipfile
diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py
index 427a36f31c..4850fad9b5 100644
--- a/PC/layout/support/appxmanifest.py
+++ b/PC/layout/support/appxmanifest.py
@@ -6,13 +6,11 @@ __author__ = "Steve Dower <steve.dower@python.org>"
__version__ = "3.8"
-import collections
import ctypes
import io
import os
-import sys
-from pathlib import Path, PureWindowsPath
+from pathlib import PureWindowsPath
from xml.etree import ElementTree as ET
from .constants import *
diff --git a/PC/layout/support/catalog.py b/PC/layout/support/catalog.py
index 43121187ed..c9d87cb894 100644
--- a/PC/layout/support/catalog.py
+++ b/PC/layout/support/catalog.py
@@ -6,8 +6,6 @@ __author__ = "Steve Dower <steve.dower@python.org>"
__version__ = "3.8"
-import sys
-
__all__ = ["PYTHON_CAT_NAME", "PYTHON_CDF_NAME"]
diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py
index 6efd8bcd5c..8195c3dc30 100644
--- a/PC/layout/support/constants.py
+++ b/PC/layout/support/constants.py
@@ -6,7 +6,6 @@ __author__ = "Steve Dower <steve.dower@python.org>"
__version__ = "3.8"
import os
-import re
import struct
import sys