aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-09-23 18:28:59 -0700
committerGitHub <noreply@github.com>2024-09-24 01:28:59 +0000
commitad7c7785461fffba04f5a36cd6d062e92b0fda16 (patch)
tree4e4da0559c1b120872095862f11ca915fac0d405 /Objects/tupleobject.c
parentbe76e3f26e0b907f711497d006b8b83bff04c036 (diff)
downloadcpython-ad7c7785461fffba04f5a36cd6d062e92b0fda16.tar.gz
cpython-ad7c7785461fffba04f5a36cd6d062e92b0fda16.zip
gh-123990: Good bye WITH_FREELISTS macro (gh-124358)
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r--Objects/tupleobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index bd6e5681911..f14f10ab9c0 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -1146,7 +1146,6 @@ maybe_freelist_push(PyTupleObject *op)
void
_PyTuple_DebugMallocStats(FILE *out)
{
-#ifdef WITH_FREELISTS
for (int i = 0; i < PyTuple_MAXSAVESIZE; i++) {
int len = i + 1;
char buf[128];
@@ -1155,5 +1154,4 @@ _PyTuple_DebugMallocStats(FILE *out)
_PyDebugAllocatorStats(out, buf, _Py_FREELIST_SIZE(tuples[i]),
_PyObject_VAR_SIZE(&PyTuple_Type, len));
}
-#endif
}