File size: 191 Bytes
60f5111
 
 
 
 
 
1
2
3
4
5
6
7
try:
    raise ExceptionGroup("problem", [BlockingIOError()])
except* OSError as e:   # Would catch the error
    print(repr(e))
except* BlockingIOError: # Would never run
    print('never')