summaryrefslogtreecommitdiff
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-26 01:32:56 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-26 01:32:56 +0300
commit9a3c839867c75374dfc3ad1d36e34e61b17a009b (patch)
treeaa64b14016239ea6979ec5ad7e312ebd20ca014f /Modules/unicodedata.c
parent2dde1cc43c5753ab90fabfeacd83cf33ecd16a7a (diff)
downloadcpython-9a3c839867c75374dfc3ad1d36e34e61b17a009b.tar.gz
#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 d89316a347..75c162656e 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -507,7 +507,7 @@ nfd_nfkd(PyObject *self, PyObject *input, int k)
stackptr = 0;
isize = PyUnicode_GET_LENGTH(input);
- /* Overallocate atmost 10 characters. */
+ /* Overallocate at most 10 characters. */
space = (isize > 10 ? 10 : isize) + isize;
osize = space;
output = PyMem_Malloc(space * sizeof(Py_UCS4));