Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51a4370 + 5e78f4d commit 3188f82Copy full SHA for 3188f82
1 file changed
Python/traceback.c
@@ -322,6 +322,7 @@ _Py_DisplaySourceLine(PyObject *f, PyObject *filename, int lineno, int indent)
322
Py_XDECREF(lineobj);
323
lineobj = PyFile_GetLine(fob, -1);
324
if (!lineobj) {
325
+ PyErr_Clear();
326
err = -1;
327
break;
328
}
0 commit comments