gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410)

This commit is contained in:
Victor Stinner 2023-06-06 23:08:48 +02:00 committed by GitHub
parent b8c79b2b98
commit d1b0015ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
import argparse
import contextlib
import fnmatch
import logging
import os
import os.path

View File

@ -1,4 +1,4 @@
import re
#import re
from ..info import KIND, ParsedItem, FileInfo

View File

@ -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,

View File

@ -1,5 +1,4 @@
import os.path
import re
from c_common.clsutil import classonly
from c_parser.info import (

View File

@ -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

View File

@ -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