class Foo(object): x:int = 1 f = Foo() print(f.x)