Anonymous
public python v1 · immutableclass Bar(object): def __init__(self): self.__foo = 'whee'class Foo(Bar): def __init__(self): Bar.__init__(self) print self.__foo # how do you access this properly?class Bar(object): def __init__(self): self.__foo = 'whee'class Foo(Bar): def __init__(self): Bar.__init__(self) print self.__foo # how do you access this properly?