mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
(cherry picked from commit f4b52fc04911cc80b05fc155485fa5aafcd70bf4) GitOrigin-RevId: 76b3859ef35485c1704d9d12419fae927a3989c6
13 lines
402 B
Python
13 lines
402 B
Python
from b import A
|
|
|
|
<warning descr="'a' is 'Final' and cannot be reassigned">A.a</warning> = 4
|
|
|
|
class B(A):
|
|
@classmethod
|
|
def my_cls_method(cls):
|
|
<warning descr="'a' is 'Final' and cannot be reassigned">cls.a</warning> = 6
|
|
|
|
<warning descr="'a' is 'Final' and cannot be reassigned">B.a</warning> = 7
|
|
|
|
class C(A):
|
|
<warning descr="'A.a' is 'Final' and cannot be reassigned">a</warning> = 8 |