ALeX inSide wrote:
I suppose there shall be some kind of method decorator to treat an argument as an
> instance of class?

You can do this:

   xxx = MyClass.some_method

and then

   i = MyClass()
   xxx(i, foo, bar)

Does that help?

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to