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.
1 parent 2acbae8 commit 5e78f4dCopy full SHA for 5e78f4d
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