mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
129 B
Python
13 lines
129 B
Python
|
|
class A:
|
|
pass
|
|
|
|
class MyException(A, Exception):
|
|
def __new__(cls, x):
|
|
pass
|
|
|
|
|
|
def foo():
|
|
raise MyException()
|
|
|