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