diff options
author | Jeong Ukjae <JeongUkJae@gmail.com> | 2020-06-29 18:56:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-29 18:56:56 (GMT) |
commit | 5b96370030707b68e8a5b787e933654297ddbc98 (patch) | |
tree | 2076643a051adbc472d86fb9bacd15b38ccd17b8 /Objects | |
parent | b30ee26e366bf509b7538d79bfec6c6d38d53f28 (diff) | |
download | cpython-5b96370030707b68e8a5b787e933654297ddbc98.zip cpython-5b96370030707b68e8a5b787e933654297ddbc98.tar.gz cpython-5b96370030707b68e8a5b787e933654297ddbc98.tar.bz2 |
Fix typo in Object/listobject.c (GH-21079)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/listobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index ab03615..aac87ea 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -69,7 +69,7 @@ list_resize(PyListObject *self, Py_ssize_t newsize) * is PY_SSIZE_T_MAX * (9 / 8) + 6 which always fits in a size_t. */ new_allocated = ((size_t)newsize + (newsize >> 3) + 6) & ~(size_t)3; - /* Do not overallocate if the new size is closer to overalocated size + /* Do not overallocate if the new size is closer to overallocated size * than to the old size. */ if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize)) |