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

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


https://github.com/python/cpython/commit/2a86ade9e38168ba49c68d1dd52ced588a80d945
commit: 2a86ade9e38168ba49c68d1dd52ced588a80d945
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-11-09T22:18:34-08:00
summary:

Fix typo in unicodeobject.c (GH-23180)


exeeds -> exceeds

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

Co-authored-by: Ikko Ashimine <eltociear at gmail.com>

files:
M Objects/unicodeobject.c

diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index d5fbf158d50b4..ea359039528b6 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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



More information about the Python-checkins mailing list