This commit is contained in:
Aaron Gokaslan 2022-02-22 11:24:40 -05:00
parent 3286964fea
commit 978bf2aa50

View File

@ -506,7 +506,7 @@ error_string(PyObject *exc_type, PyObject *exc_value, PyObject *exc_trace) {
result += handle(f_code->co_filename).cast<std::string>(); result += handle(f_code->co_filename).cast<std::string>();
result += '('; result += '(';
result += std::to_string(lineno); result += std::to_string(lineno);
result += "):) "; result += "): ";
result += handle(f_code->co_name).cast<std::string>(); result += handle(f_code->co_name).cast<std::string>();
result += '\n'; result += '\n';
frame = frame->f_back; frame = frame->f_back;