Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
43a74abb
Commit
43a74abb
authored
Nov 10, 2018
by
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
Committed by
Terry Jan Reedy
Nov 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35202: Remove unused imports in idlelib (GH-10438)
parent
2d1bc537
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
6 deletions
+2
-6
Lib/idlelib/codecontext.py
Lib/idlelib/codecontext.py
+1
-1
Lib/idlelib/filelist.py
Lib/idlelib/filelist.py
+0
-1
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_config.py
+0
-1
Lib/idlelib/idle_test/test_config_key.py
Lib/idlelib/idle_test/test_config_key.py
+0
-1
Lib/idlelib/idle_test/test_rpc.py
Lib/idlelib/idle_test/test_rpc.py
+0
-1
Lib/idlelib/pyparse.py
Lib/idlelib/pyparse.py
+0
-1
Misc/NEWS.d/next/IDLE/2018-11-10-09-10-54.bpo-35202.TeJJrt.rst
...NEWS.d/next/IDLE/2018-11-10-09-10-54.bpo-35202.TeJJrt.rst
+1
-0
No files found.
Lib/idlelib/codecontext.py
View file @
43a74abb
...
...
@@ -13,7 +13,7 @@ import re
from
sys
import
maxsize
as
INFINITY
import
tkinter
from
tkinter.constants
import
TOP
,
LEFT
,
X
,
W
,
SUNKEN
from
tkinter.constants
import
TOP
,
X
,
SUNKEN
from
idlelib.config
import
idleConf
...
...
Lib/idlelib/filelist.py
View file @
43a74abb
...
...
@@ -115,7 +115,6 @@ def _test(): # TODO check and convert to htest
from
tkinter
import
Tk
from
idlelib.editor
import
fixwordbreaks
from
idlelib.run
import
fix_scaling
import
sys
root
=
Tk
()
fix_scaling
(
root
)
fixwordbreaks
(
root
)
...
...
Lib/idlelib/idle_test/test_config.py
View file @
43a74abb
...
...
@@ -4,7 +4,6 @@
Much of IdleConf is also exercised by ConfigDialog and test_configdialog.
"""
from
idlelib
import
config
import
copy
import
sys
import
os
import
tempfile
...
...
Lib/idlelib/idle_test/test_config_key.py
View file @
43a74abb
...
...
@@ -2,7 +2,6 @@
from
idlelib
import
config_key
from
test.support
import
requires
import
sys
import
unittest
from
tkinter
import
Tk
from
idlelib.idle_test.mock_idle
import
Func
...
...
Lib/idlelib/idle_test/test_rpc.py
View file @
43a74abb
...
...
@@ -3,7 +3,6 @@
from
idlelib
import
rpc
import
unittest
import
marshal
class
CodePicklerTest
(
unittest
.
TestCase
):
...
...
Lib/idlelib/pyparse.py
View file @
43a74abb
...
...
@@ -11,7 +11,6 @@ _closere - line that must be followed by dedent.
_chew_ordinaryre - non-special characters.
"""
import
re
import
sys
# Reason last statement is continued (or C_NONE if it's not).
(
C_NONE
,
C_BACKSLASH
,
C_STRING_FIRST_LINE
,
...
...
Misc/NEWS.d/next/IDLE/2018-11-10-09-10-54.bpo-35202.TeJJrt.rst
0 → 100644
View file @
43a74abb
Remove unused imports from lib/idlelib
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment