This commit is contained in:
Max Nordlund
2017-12-26 00:51:29 +01:00
committed by Dave Halter
parent 0dea94c801
commit b076cdc12a

View File

@@ -36,7 +36,7 @@ except AttributeError:
def u(string):
"""Cast to unicode DAMMIT!
Written because Python2 repr always implicitly casts to a string, so we
have to cast back to a unicode (and we now that we always deal with valid
have to cast back to a unicode (and we know that we always deal with valid
unicode, because we check that in the beginning).
"""
if py_version >= 30: