Skip to content
Open
Prev Previous commit
Next Next commit
fix
  • Loading branch information
trim21 committed Sep 11, 2024
commit 44f5c025d85eafe304e313405eaa7ad867d86ecb
3 changes: 2 additions & 1 deletion loguru/_better_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
import tokenize
import traceback

from exceptiongroup import ExceptionGroup
if sys.version_info < (3, 11):
from exceptiongroup import ExceptionGroup


def is_exception_group(exc):
Expand Down