Skip to content
Prev Previous commit
Next Next commit
Apply suggestions: doc formatting
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
  • Loading branch information
belm0 and pablogsal authored Jun 28, 2022
commit f6927cd6049ba0cfac38f85a85b50376a5b9989c
2 changes: 1 addition & 1 deletion Python/traceback.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ tb_displayline(PyTracebackObject* tb, PyObject *f, PyObject *filename, int linen
end_offset = i + 1;
}

// elide indicators if primary char spans the frame line
// Elide indicators if primary char spans the frame line
Py_ssize_t stripped_line_len = source_line_len - truncation - _TRACEBACK_SOURCE_LINE_INDENT;
if (end_offset - start_offset == stripped_line_len &&
left_end_offset == -1 && right_start_offset == -1) {
Expand Down