Datasets:
File size: 216 Bytes
60f5111 | 1 2 3 4 5 6 7 8 9 10 11 | try:
raise ExceptionGroup("eg", [ValueError('a')])
except* ValueError:
raise KeyError('x')
try:
raise ExceptionGroup("eg", [ValueError('a'), TypeError('b')])
except* ValueError:
raise KeyError('x')
|