Remember kids: there is no 'I' in str or bytes, but there is ALWAYS an
'I' in unicode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306626
91177308-0d34-0410-b5e6-
96231b3b80d8
# - 'bytes' (2nd branch above)
#
# The last type we might expect is the Python2 'unicode' type. There is no
- # 'uncode' type in Python3 (all the Python3 cases were already handled). In
+ # 'unicode' type in Python3 (all the Python3 cases were already handled). In
# order to get a 'str' object, we need to encode the 'unicode' object.
try:
return b.encode('utf-8')