summaryrefslogtreecommitdiffstats
path: root/PC/layout
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-22 17:14:27 (GMT)
committerGitHub <noreply@github.com>2022-06-22 17:14:27 (GMT)
commit47e35625ff2c4e6511a12e7178c3e4fbc965b634 (patch)
treee9a6b4d687233135f993260b12011613b9189058 /PC/layout
parent8661c5053fbe3e246289d77e49a813470b3a16f7 (diff)
downloadcpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.zip
cpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.tar.gz
cpython-47e35625ff2c4e6511a12e7178c3e4fbc965b634.tar.bz2
gh-84623: Remove unused imports (#94132)
Diffstat (limited to 'PC/layout')
-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 8e69ecc..923483a 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 427a36f..4850fad 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 4312118..c9d87cb 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 6efd8bc..8195c3d 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