Skip to content

Commit 4925719

Browse files
Update Python/suggestions.c
Co-authored-by: Batuhan Taskaya <[email protected]>
1 parent d8933dd commit 4925719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/suggestions.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ get_suggestions_for_name_error(PyObject* name, PyFrameObject* frame)
274274
return suggestions;
275275

276276
error:
277-
Py_XDECREF(dir);
277+
Py_DECREF(dir);
278278
return NULL;
279279
}
280280

0 commit comments

Comments
 (0)