Skip to content

Commit c08f412

Browse files
committed
Remove no longer needed __future__ imports
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent f22e580 commit c08f412

File tree

6 files changed

+3
-6
lines changed

6 files changed

+3
-6
lines changed

bpython/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Module to handle command line argument parsing, for all front-ends.
33
"""
44

5-
from __future__ import with_statement, print_function
5+
from __future__ import print_function
66
import os
77
import sys
88
import code

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# - Instead the suspend key exits the program
4040
# - View source doesn't work on windows unless you install the less program (From GnuUtils or Cygwin)
4141

42-
from __future__ import division, with_statement
42+
from __future__ import division
4343

4444
import platform
4545
import os

bpython/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# encoding: utf-8
22

3-
from __future__ import with_statement
43
import os
54
import sys
65
import locale

bpython/inspection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
# THE SOFTWARE.
2525
#
2626

27-
from __future__ import with_statement
2827
import inspect
2928
import io
3029
import keyword

bpython/repl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
# THE SOFTWARE.
2525

26-
from __future__ import with_statement
2726
import code
2827
import errno
2928
import inspect

bpython/urwid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"""
3434

3535

36-
from __future__ import absolute_import, with_statement, division, print_function
36+
from __future__ import absolute_import, division, print_function
3737

3838
import sys
3939
import os

0 commit comments

Comments
 (0)