diff options
| author | AlexSm <[email protected]> | 2024-08-19 16:16:30 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-19 17:16:30 +0300 |
| commit | 9b567afd3339f4525feab53873592cb025b14251 (patch) | |
| tree | 5c8489f98dc5a9a10f66065055e5a401bbd14767 /contrib/tools/python3/Objects/tupleobject.c | |
| parent | 47bd121575c210d4bbb2dddcc2131759a694df05 (diff) | |
Library import 240819-0942 (#7994)
Co-authored-by: robot-piglet <[email protected]>
Co-authored-by: hiddenpath <[email protected]>
Co-authored-by: bulatman <[email protected]>
Co-authored-by: robot-contrib <[email protected]>
Co-authored-by: osidorkin <[email protected]>
Co-authored-by: akhropov <[email protected]>
Co-authored-by: akozhikhov <[email protected]>
Co-authored-by: orlovorlov <[email protected]>
Co-authored-by: babenko <[email protected]>
Co-authored-by: shadchin <[email protected]>
Co-authored-by: dmasloff <[email protected]>
Co-authored-by: aleksei-le <[email protected]>
Co-authored-by: coteeq <[email protected]>
Co-authored-by: dimdim11 <[email protected]>
Co-authored-by: robot-ya-builder <[email protected]>
Co-authored-by: iaz1607 <[email protected]>
Diffstat (limited to 'contrib/tools/python3/Objects/tupleobject.c')
| -rw-r--r-- | contrib/tools/python3/Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/Objects/tupleobject.c b/contrib/tools/python3/Objects/tupleobject.c index 991edcc8667..918654fae89 100644 --- a/contrib/tools/python3/Objects/tupleobject.c +++ b/contrib/tools/python3/Objects/tupleobject.c @@ -1139,7 +1139,7 @@ maybe_freelist_pop(Py_ssize_t size) return NULL; } assert(size > 0); - if (size < PyTuple_MAXSAVESIZE) { + if (size <= PyTuple_MAXSAVESIZE) { Py_ssize_t index = size - 1; PyTupleObject *op = STATE.free_list[index]; if (op != NULL) { |
