summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorKyle Stanley <aeros167@gmail.com>2019-07-22 02:48:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-22 02:48:45 (GMT)
commit24b5b360faf306ef67419dfe5d49ff22dbe827b1 (patch)
treed23382899b0058990f09a6e2f504bdc8e743a1ff /Python
parent0104841d12b42ebe5716efbe3ddcb8744dd7cea8 (diff)
downloadcpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.zip
cpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.tar.gz
cpython-24b5b360faf306ef67419dfe5d49ff22dbe827b1.tar.bz2
[3.8] Fix typos in docs, comments and test assert messages (GH-14872). (#14900)
(cherry picked from commit 96e12d5f4f3c5a20986566038ee763dff3c228a1) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/initconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index 1c7078a..dd8dd7a 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();
}