Skip to content

Commit 6ef9a44

Browse files
committed
Remove unused imports.
1 parent 00e7cd6 commit 6ef9a44

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

bpython/cli.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import os
2929
import sys
3030
import curses
31-
import code
3231
import math
3332
import re
3433
import time
@@ -40,9 +39,7 @@
4039
import unicodedata
4140
import errno
4241

43-
from itertools import takewhile
4442
from locale import LC_ALL, getpreferredencoding, setlocale
45-
from optparse import OptionParser
4643
from types import ModuleType
4744

4845
# These are used for syntax hilighting.
@@ -57,7 +54,7 @@
5754
from bpython import importcompletion
5855

5956
# This for config
60-
from bpython.config import Struct, migrate_rc
57+
from bpython.config import Struct
6158

6259
# This for keys
6360
from bpython.keys import key_dispatch

bpython/gtk_.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,6 @@ def main(args=None):
636636
sys.stderr = repl_widget
637637
sys.stdout = repl_widget
638638

639-
# repl.startup()
640-
641639
gobject.idle_add(init_import_completion)
642640

643641
if not options.socket_id:

0 commit comments

Comments
 (0)