Skip to content

Commit 5367875

Browse files
authored
Fix typo in tracemalloc.c (#139450)
1 parent 22f7ccf commit 5367875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/tracemalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ tracemalloc_get_frame(_PyInterpreterFrame *pyframe, frame_t *frame)
230230
}
231231
frame->lineno = (unsigned int)lineno;
232232

233-
PyObject *filename = filename = _PyFrame_GetCode(pyframe)->co_filename;
233+
PyObject *filename = _PyFrame_GetCode(pyframe)->co_filename;
234234
if (filename == NULL) {
235235
#ifdef TRACE_DEBUG
236236
tracemalloc_error("failed to get the filename of the code object");

0 commit comments

Comments
 (0)