Skip to content

Commit af54f72

Browse files
committed
Remove use of six.moves.builtins
1 parent e7cab9d commit af54f72

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

bpython/autocomplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
import os
3131
import re
3232
import rlcompleter
33-
from six.moves import builtins
3433
from six import iteritems
34+
import builtins
3535

3636
from . import inspection
3737
from . import importcompletion

bpython/curtsiesfrontend/sitefix.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import sys
2-
3-
from six.moves import builtins
2+
import builtins
43

54

65
def resetquit(builtins):

bpython/simpleeval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import ast
3131
import inspect
3232
import sys
33-
from six.moves import builtins
33+
import builtins
3434

3535
from . import line as line_properties
3636
from .inspection import getattr_safe

bpython/test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import unittest
2+
import builtins
23
from unittest import mock
34

45
from bpython.translations import init
5-
from six.moves import builtins
66
import os
77

88

bpython/urwid.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
This is still *VERY* rough.
3232
"""
3333

34-
35-
34+
import builtins
3635
import sys
3736
import os
3837
import time

0 commit comments

Comments
 (0)