summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-07-21 20:12:33 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-21 20:12:33 (GMT)
commit96e12d5f4f3c5a20986566038ee763dff3c228a1 (patch)
treeae4039f978a155a295903e084f4531d42b8cf7a8 /Python/initconfig.c
parent8e3a7380ecb310b50e48f47d1f26190cc9c45eb6 (diff)
downloadcpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.zip
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.gz
cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.bz2
Fix typos in docs, comments and test assert messages (#14872)
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r--Python/initconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index c44ae6b..9247443 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -300,7 +300,7 @@ PyStatus
PyWideStringList_Append(PyWideStringList *list, const wchar_t *item)
{
if (list->length == PY_SSIZE_T_MAX) {
- /* lenght+1 would overflow */
+ /* length+1 would overflow */
return _PyStatus_NO_MEMORY();
}