mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[3.6] Remove unused imports (#2104)
Part of patch by Serhiy Strochaka, 2016-12-16 (no bpo issue)
(cherry-pick of 70d28a184c
)
This commit is contained in:
parent
ccccf3156f
commit
d755d19ac4
4 changed files with 0 additions and 4 deletions
|
@ -4,7 +4,6 @@ Coverage: 71% on Windows.
|
||||||
'''
|
'''
|
||||||
from idlelib import macosx
|
from idlelib import macosx
|
||||||
from test.support import requires
|
from test.support import requires
|
||||||
import sys
|
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
import unittest
|
import unittest
|
||||||
import unittest.mock as mock
|
import unittest.mock as mock
|
||||||
|
|
|
@ -5,7 +5,6 @@ Coverage: 56%
|
||||||
from idlelib import tree
|
from idlelib import tree
|
||||||
from test.support import requires
|
from test.support import requires
|
||||||
requires('gui')
|
requires('gui')
|
||||||
import os
|
|
||||||
import unittest
|
import unittest
|
||||||
from tkinter import Tk
|
from tkinter import Tk
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
A number of functions that enhance IDLE on Mac OSX.
|
A number of functions that enhance IDLE on Mac OSX.
|
||||||
"""
|
"""
|
||||||
from sys import platform # Used in _init_tk_type, changed by test.
|
from sys import platform # Used in _init_tk_type, changed by test.
|
||||||
import warnings
|
|
||||||
|
|
||||||
import tkinter
|
import tkinter
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import linecache
|
import linecache
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue