fork(1) download
  1. class C(object):
  2. def __init__(self, v):
  3. self.__value = v
  4. def show(self):
  5. print(self.__value)
  6. c1 = C(10)
  7. #print(c1.__value)
  8. c1.show()
Success #stdin #stdout 0.02s 8688KB
stdin
Standard input is empty
stdout
10