Skip to content

Commit d09e63a

Browse files
committed
fix typing
1 parent 43d0799 commit d09e63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rich/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def extract(
405405

406406
from rich import _IMPORT_CWD
407407

408-
notes: list[str] = getattr(exc_value, "__notes__", None) or []
408+
notes: List[str] = getattr(exc_value, "__notes__", None) or []
409409

410410
def safe_str(_object: Any) -> str:
411411
"""Don't allow exceptions from __str__ to propagate."""

0 commit comments

Comments
 (0)