from b import A A().bar("5")
from b import A A().foo < caret > ("5")
def main(): for k in range(10): print f(g(k)) print A().h(8)
from b import A A().append() # <ref>
from b import A, B print(A(), B())
from b import A A().my_method(10)
from b import A, B <warning descr="'a' is 'Final' and could not be reassigned">A().a</warning> = 3 <warning descr="'b' is 'Final' and could not be reassigned">B().b</warning> = 3 class C(B): def __init__(self): super().__init__() <warning descr="'B.b' is 'Final' and could not be reassigned">self.b</warning> = 4 def my_method(self): <warning descr="'B.b' is 'Final' and could not be reassigned">self.b</warning> = 5 <warning descr="'B.b' is 'Final' and could not be reassigned">C().b</warning> = 6