mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
13 lines
206 B
Python
13 lines
206 B
Python
|
|
class A:
|
|
pass
|
|
|
|
class MyException(A):
|
|
def __new__(cls, x):
|
|
pass
|
|
|
|
|
|
def foo():
|
|
raise <warning descr="Exception doesn't inherit from base 'Exception' class">MyExcep<caret>tion()</warning>
|
|
|