Skip to content

Commit 3025194

Browse files
committed
Fix spelling: uncode -> unicode.
Remember kids: there is no 'I' in str or bytes, but there is ALWAYS an 'I' in unicode. llvm-svn: 306626
1 parent d59c9cd commit 3025194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/lit/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def to_string(b):
4848
# - 'bytes' (2nd branch above)
4949
#
5050
# The last type we might expect is the Python2 'unicode' type. There is no
51-
# 'uncode' type in Python3 (all the Python3 cases were already handled). In
51+
# 'unicode' type in Python3 (all the Python3 cases were already handled). In
5252
# order to get a 'str' object, we need to encode the 'unicode' object.
5353
try:
5454
return b.encode('utf-8')

0 commit comments

Comments
 (0)