mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
Fix typo in tracemalloc.c (#139450)
This commit is contained in:
parent
22f7ccfad6
commit
536787591a
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue