Skip to content

Commit 7cd06c6

Browse files
authored
Merge pull request #390 from jparise/newobject-imports
Remove unused newobject imports
2 parents d286e2a + ec7b0f2 commit 7cd06c6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/future/types/newobject.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,6 @@ def __iter__(self):
3737
3838
"""
3939

40-
import sys
41-
42-
from future.utils import with_metaclass
43-
44-
45-
_builtin_object = object
46-
ver = sys.version_info[:2]
47-
48-
49-
# We no longer define a metaclass for newobject because this breaks multiple
50-
# inheritance and custom metaclass use with this exception:
51-
52-
# TypeError: Error when calling the metaclass bases
53-
# metaclass conflict: the metaclass of a derived class must be a
54-
# (non-strict) subclass of the metaclasses of all its bases
55-
56-
# See issues #91 and #96.
57-
5840

5941
class newobject(object):
6042
"""

0 commit comments

Comments
 (0)