Show More
@@ -135,10 +135,9 b' def _format_traceback_lines(lines, Colors, has_colors, lvals):' | |||
|
135 | 135 | Format tracebacks lines with pointing arrow, leading numbers... |
|
136 | 136 | |
|
137 | 137 | Parameters |
|
138 | ========== | |
|
139 | ||
|
138 | ---------- | |
|
140 | 139 | lines: list[Line] |
|
141 |
Colors |
|
|
140 | Colors | |
|
142 | 141 | ColorScheme used. |
|
143 | 142 | lvals: str |
|
144 | 143 | Values of local variables, already colored, to inject just after the error line. |
@@ -338,18 +337,14 b' class ListTB(TBTools):' | |||
|
338 | 337 | ---------- |
|
339 | 338 | etype : exception type |
|
340 | 339 | Type of the exception raised. |
|
341 | ||
|
342 | 340 | evalue : object |
|
343 | 341 | Data stored in the exception |
|
344 | ||
|
345 | 342 | etb : object |
|
346 | 343 | If list: List of frames, see class docstring for details. |
|
347 | 344 | If Traceback: Traceback of the exception. |
|
348 | ||
|
349 | 345 | tb_offset : int, optional |
|
350 | 346 | Number of frames in the traceback to skip. If not given, the |
|
351 | 347 | instance evalue is used (set in constructor). |
|
352 | ||
|
353 | 348 | context : int, optional |
|
354 | 349 | Number of lines of context information to print. |
|
355 | 350 | |
@@ -518,7 +513,7 b' class ListTB(TBTools):' | |||
|
518 | 513 | Parameters |
|
519 | 514 | ---------- |
|
520 | 515 | etype : exception type |
|
521 | value : exception value | |
|
516 | evalue : exception value | |
|
522 | 517 | """ |
|
523 | 518 | return ListTB.structured_traceback(self, etype, value) |
|
524 | 519 | |
@@ -528,7 +523,7 b' class ListTB(TBTools):' | |||
|
528 | 523 | Parameters |
|
529 | 524 | ---------- |
|
530 | 525 | etype : exception type |
|
531 | value : exception value | |
|
526 | evalue : exception value | |
|
532 | 527 | """ |
|
533 | 528 | # This method needs to use __call__ from *this* class, not the one from |
|
534 | 529 | # a subclass whose signature or behavior may be different |
General Comments 0
You need to be logged in to leave comments.
Login now