mirror of https://github.com/python/cpython
gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410)
This commit is contained in:
parent
b8c79b2b98
commit
d1b0015ea8
|
@ -1,6 +1,5 @@
|
|||
import argparse
|
||||
import contextlib
|
||||
import fnmatch
|
||||
import logging
|
||||
import os
|
||||
import os.path
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import re
|
||||
#import re
|
||||
|
||||
from ..info import KIND, ParsedItem, FileInfo
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ import logging
|
|||
import sys
|
||||
|
||||
from c_common.scriptutil import (
|
||||
CLIArgSpec as Arg,
|
||||
add_verbosity_cli,
|
||||
add_traceback_cli,
|
||||
add_kind_filtering_cli,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import os.path
|
||||
import re
|
||||
|
||||
from c_common.clsutil import classonly
|
||||
from c_parser.info import (
|
||||
|
|
|
@ -45,7 +45,6 @@ cygwin in no-cygwin mode).
|
|||
# * mingw gcc 3.2/ld 2.13 works
|
||||
# (ld supports -shared)
|
||||
|
||||
import os
|
||||
import sys
|
||||
from subprocess import Popen, PIPE, check_output
|
||||
import re
|
||||
|
|
|
@ -13,7 +13,7 @@ the "typical" Unix-style command-line C compiler:
|
|||
* link shared library handled by 'cc -shared'
|
||||
"""
|
||||
|
||||
import os, sys, re
|
||||
import os, sys
|
||||
|
||||
from distutils.dep_util import newer
|
||||
from distutils.ccompiler import CCompiler, gen_preprocess_options
|
||||
|
|
Loading…
Reference in New Issue