summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDavid L. Jones <dlj@google.com>2017-06-29 01:03:56 +0000
committerDavid L. Jones <dlj@google.com>2017-06-29 01:03:56 +0000
commit30251947ed66abaf1e277c660acbc851169edb0c (patch)
treeb9d0ce2b058adae8336d8047cfcb949f5765f344 /llvm/utils
parentd59c9cd539abf29a5d02c16e60805bdde2e18bd3 (diff)
downloadbcm5719-llvm-30251947ed66abaf1e277c660acbc851169edb0c.tar.gz
bcm5719-llvm-30251947ed66abaf1e277c660acbc851169edb0c.zip
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
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/lit/lit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py
index a75bc8adb71..917dca868a6 100644
--- a/llvm/utils/lit/lit/util.py
+++ b/llvm/utils/lit/lit/util.py
@@ -48,7 +48,7 @@ def to_string(b):
# - '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')
OpenPOWER on IntegriCloud