fork(7) download
  1. class Value(object):
  2. def __init__(self, value): self.value = value
  3.  
  4. y = Value(7)
  5. x = y
  6. x.value = 8
  7. print y.value
Success #stdin #stdout 0.01s 4676KB
stdin
Standard input is empty
stdout
8