We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59c9cd commit 3025194Copy full SHA for 3025194
llvm/utils/lit/lit/util.py
@@ -48,7 +48,7 @@ def to_string(b):
48
# - 'bytes' (2nd branch above)
49
#
50
# 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
+ # 'unicode' type in Python3 (all the Python3 cases were already handled). In
52
# order to get a 'str' object, we need to encode the 'unicode' object.
53
try:
54
return b.encode('utf-8')
0 commit comments