summaryrefslogtreecommitdiffstats
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:31:30 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:31:30 (GMT)
commit6d0f0f299b014e79f6079901b560e938e0c5d8df (patch)
treee2f81371eca1a0d0782bb76dcbd5b883edc6b898 /Modules/unicodedata.c
parent290c6b3446f5a1ecd76e0213e4db388a37ee9e55 (diff)
downloadcpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.zip
cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.gz
cpython-6d0f0f299b014e79f6079901b560e938e0c5d8df.tar.bz2
#18803: fix more typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index edc811e..6f9c7e8 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -506,7 +506,7 @@ nfd_nfkd(PyObject *self, PyObject *input, int k)
stackptr = 0;
isize = PyUnicode_GET_SIZE(input);
- /* Overallocate atmost 10 characters. */
+ /* Overallocate at most 10 characters. */
space = (isize > 10 ? 10 : isize) + isize;
result = PyUnicode_FromUnicode(NULL, space);
if (!result)