[Python-checkins] Fix typo in unicodeobject.c (GH-23180)

miss-islington webhook-mailer at python.org
Tue Nov 10 00:57:42 EST 2020


https://github.com/python/cpython/commit/38811d68caf9b782ea7168479acb09557e126efe
commit: 38811d68caf9b782ea7168479acb09557e126efe
branch: master
author: Ikko Ashimine <eltociear at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-11-09T21:57:34-08:00
summary:

Fix typo in unicodeobject.c (GH-23180)



exeeds -> exceeds

Automerge-Triggered-By: GH:Mariatta

files:
M Objects/unicodeobject.c

diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 9058018201039..e7a63e7b973d8 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1894,7 +1894,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



More information about the Python-checkins mailing list