fork download
  1. class Yoba:
  2. def foo(self, *args):
  3. print(self, args)
  4.  
  5. yoba = Yoba()
  6. yoba.foo("bar")
  7. Yoba.foo(yoba, "baz")
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
<__main__.Yoba object at 0xb736e9ec> ('bar',)
<__main__.Yoba object at 0xb736e9ec> ('baz',)