Skip to content
This repository was archived by the owner on Aug 24, 2020. It is now read-only.

Commit 5f0f2c3

Browse files
committed
Fix "TypeError: type() argument 1 must be string, not unicode" in Python 2
1 parent bcfb98e commit 5f0f2c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

future/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __new__(cls, name, this_bases, d):
123123
if this_bases is None:
124124
return type.__new__(cls, name, (), d)
125125
return meta(name, bases, d)
126-
return metaclass('temporary_class', None, {})
126+
return metaclass(native_str('temporary_class'), None, {})
127127

128128

129129
# Definitions from pandas.compat follow:

0 commit comments

Comments
 (0)