From bd55db3dcb88711ed1d7bbe70be372ce83f3a3c4 Mon Sep 17 00:00:00 2001 From: "David L. Jones" Date: Thu, 29 Jun 2017 01:03:56 +0000 Subject: [PATCH] Fix spelling: uncode -> unicode. 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 --- utils/lit/lit/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lit/lit/util.py b/utils/lit/lit/util.py index a75bc8adb71..917dca868a6 100644 --- a/utils/lit/lit/util.py +++ b/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') -- 2.11.0