mirror of https://github.com/python/cpython
gh-120417: Remove unused imports in Tools (#120623)
This commit is contained in:
parent
6acf7776ef
commit
d9b4316374
|
@ -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.
|
||||
|
|
|
@ -5,10 +5,10 @@ See the notes at the top of Python/frozen.c for more info.
|
|||
|
||||
from collections import namedtuple
|
||||
import hashlib
|
||||
import os
|
||||
import ntpath
|
||||
import os
|
||||
import posixpath
|
||||
import argparse
|
||||
|
||||
from update_file import updating_file_with_tmpfile
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,7 +15,6 @@ import datetime
|
|||
import operator
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
Loading…
Reference in New Issue