mirror of https://github.com/python/cpython.git
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 argparse
|
||||||
import contextlib
|
import contextlib
|
||||||
import fnmatch
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import re
|
#import re
|
||||||
|
|
||||||
from ..info import KIND, ParsedItem, FileInfo
|
from ..info import KIND, ParsedItem, FileInfo
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from c_common.scriptutil import (
|
from c_common.scriptutil import (
|
||||||
CLIArgSpec as Arg,
|
|
||||||
add_verbosity_cli,
|
add_verbosity_cli,
|
||||||
add_traceback_cli,
|
add_traceback_cli,
|
||||||
add_kind_filtering_cli,
|
add_kind_filtering_cli,
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
|
||||||
|
|
||||||
from c_common.clsutil import classonly
|
from c_common.clsutil import classonly
|
||||||
from c_parser.info import (
|
from c_parser.info import (
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
# * mingw gcc 3.2/ld 2.13 works
|
# * mingw gcc 3.2/ld 2.13 works
|
||||||
# (ld supports -shared)
|
# (ld supports -shared)
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
from subprocess import Popen, PIPE, check_output
|
from subprocess import Popen, PIPE, check_output
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* link shared library handled by 'cc -shared'
|
* link shared library handled by 'cc -shared'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os, sys, re
|
import os, sys
|
||||||
|
|
||||||
from distutils.dep_util import newer
|
from distutils.dep_util import newer
|
||||||
from distutils.ccompiler import CCompiler, gen_preprocess_options
|
from distutils.ccompiler import CCompiler, gen_preprocess_options
|
||||||
|
|
Loading…
Reference in New Issue