Remove the __builtin__ compatibility
This commit is contained in:
1 parent
a9d32fbc99
commit
227cf00638
9 files changed
+6
-27
No files matched your search
@@ -198,12 +198,6 @@ def force_unicode(obj):
|
||||
return cast_path(obj)
|
||||
|
||||
|
||||
try:
|
||||
import builtins # module name in python 3
|
||||
except ImportError:
|
||||
import __builtin__ as builtins # noqa: F401
|
||||
|
||||
|
||||
def utf8_repr(func):
|
||||
"""
|
||||
``__repr__`` methods in Python 2 don't allow unicode objects to be
|
||||
|
||||
Reference in new issue
Block a user