From 0d42d8e39f403be0c2207cded82044ef819bbc3b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 30 Sep 2025 17:20:13 +0200 Subject: [PATCH] Fix typo in tracemalloc.c --- Python/tracemalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/tracemalloc.c b/Python/tracemalloc.c index 7a0853b6a07f55..005bdd378289e7 100644 --- a/Python/tracemalloc.c +++ b/Python/tracemalloc.c @@ -230,7 +230,7 @@ tracemalloc_get_frame(_PyInterpreterFrame *pyframe, frame_t *frame) } frame->lineno = (unsigned int)lineno; - PyObject *filename = filename = _PyFrame_GetCode(pyframe)->co_filename; + PyObject *filename = _PyFrame_GetCode(pyframe)->co_filename; if (filename == NULL) { #ifdef TRACE_DEBUG tracemalloc_error("failed to get the filename of the code object");