Skip to content

Commit

Permalink
pythongh-120417: Remove unused imports in Tools (python#120623)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jun 17, 2024
1 parent 6acf777 commit d9b4316
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion PC/layout/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys

try:
import layout
import layout # noqa: F401
except ImportError:
# Failed to import our package, which likely means we were started directly
# Add the additional search path needed to locate our module.
Expand Down
4 changes: 2 additions & 2 deletions Tools/build/freeze_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

from collections import namedtuple
import hashlib
import os
import ntpath
import os
import posixpath
import argparse

from update_file import updating_file_with_tmpfile


Expand Down
2 changes: 0 additions & 2 deletions Tools/patchcheck/patchcheck.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env python3
"""Check proposed changes for common issues."""
import re
import sys
import shutil
import os.path
import subprocess
import sysconfig
Expand Down
1 change: 0 additions & 1 deletion Tools/ssl/make_ssl_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import operator
import os
import re
import sys


parser = argparse.ArgumentParser(
Expand Down

0 comments on commit d9b4316

Please sign in to comment.