]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in unicodeobject.c (GH-23180)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Nov 2020 06:18:34 +0000 (22:18 -0800)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 06:18:34 +0000 (22:18 -0800)
exeeds -> exceeds

Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 38811d68caf9b782ea7168479acb09557e126efe)

Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
Objects/unicodeobject.c

index d5fbf158d50b429e97919135490632380e9091f1..ea359039528b60212d9894e393cdd5816702635b 100644 (file)
@@ -1882,7 +1882,7 @@ _PyUnicode_Ready(PyObject *unicode)
         _PyUnicode_WSTR_LENGTH(unicode) = 0;
 #endif
     }
-    /* maxchar exeeds 16 bit, wee need 4 bytes for unicode characters */
+    /* maxchar exceeds 16 bit, wee need 4 bytes for unicode characters */
     else {
 #if SIZEOF_WCHAR_T == 2
         /* in case the native representation is 2-bytes, we need to allocate a