mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-35202: Remove unused imports in Lib directory. (GH-10446)
This commit is contained in:
parent
43a74abb3a
commit
b9498e2367
7 changed files with 0 additions and 9 deletions
|
@ -16,7 +16,6 @@ __author__ = "Guido van Rossum <guido@python.org>"
|
||||||
__all__ = ["Driver", "load_grammar"]
|
__all__ = ["Driver", "load_grammar"]
|
||||||
|
|
||||||
# Python imports
|
# Python imports
|
||||||
import codecs
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -13,7 +13,6 @@ fallback token code OP, but the parser needs the actual token code.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Python imports
|
# Python imports
|
||||||
import collections
|
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
# Local imports
|
# Local imports
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
from . import util
|
from . import util
|
||||||
|
|
|
@ -3,11 +3,9 @@
|
||||||
import collections
|
import collections
|
||||||
import copy
|
import copy
|
||||||
import doctest
|
import doctest
|
||||||
import keyword
|
|
||||||
import operator
|
import operator
|
||||||
import pickle
|
import pickle
|
||||||
from random import choice, randrange
|
from random import choice, randrange
|
||||||
import re
|
|
||||||
import string
|
import string
|
||||||
import sys
|
import sys
|
||||||
from test import support
|
from test import support
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
# Some simple queue module tests, plus some failure conditions
|
# Some simple queue module tests, plus some failure conditions
|
||||||
# to ensure the Queue locks remain stable.
|
# to ensure the Queue locks remain stable.
|
||||||
import collections
|
|
||||||
import itertools
|
import itertools
|
||||||
import queue
|
import queue
|
||||||
import random
|
import random
|
||||||
import sys
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
|
|
|
@ -10,7 +10,6 @@ import codecs
|
||||||
import gc
|
import gc
|
||||||
import sysconfig
|
import sysconfig
|
||||||
import locale
|
import locale
|
||||||
import threading
|
|
||||||
|
|
||||||
# count the number of test runs, used to create unique
|
# count the number of test runs, used to create unique
|
||||||
# strings to intern in test_intern()
|
# strings to intern in test_intern()
|
||||||
|
|
|
@ -4,7 +4,6 @@ import random
|
||||||
from test import support
|
from test import support
|
||||||
import _thread as thread
|
import _thread as thread
|
||||||
import time
|
import time
|
||||||
import sys
|
|
||||||
import weakref
|
import weakref
|
||||||
|
|
||||||
from test import lock_tests
|
from test import lock_tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue