t148.py 130 B

1234567
  1. class Test:
  2. def __init__(self, v):
  3. self.value = v
  4. def __call__(self):
  5. print self.value
  6. x = Test('OK')
  7. x()