[llvm] r306626 - Fix spelling: uncode -> unicode.

David L. Jones via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 18:03:56 PDT 2017


Author: dlj
Date: Wed Jun 28 18:03:56 2017
New Revision: 306626

URL: http://llvm.org/viewvc/llvm-project?rev=306626&view=rev
Log:
Fix spelling: uncode -> unicode.

Remember kids: there is no 'I' in str or bytes, but there is ALWAYS an
'I' in unicode.

Modified:
    llvm/trunk/utils/lit/lit/util.py

Modified: llvm/trunk/utils/lit/lit/util.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/util.py?rev=306626&r1=306625&r2=306626&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/util.py (original)
+++ llvm/trunk/utils/lit/lit/util.py Wed Jun 28 18:03:56 2017
@@ -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')




More information about the llvm-commits mailing list