Skip to content

Commit b2b936c

Browse files
committed
FIX: unicode in python3, function does not exist
1 parent c7442af commit b2b936c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

memory_profiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
if PY3:
3939
import builtins
40+
def unicode(x): return str(x)
4041
else:
4142
import __builtin__ as builtins
4243

0 commit comments

Comments
 (0)