On Sat, Mar 1, 2014 at 12:59 PM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> However, the example as given won't quite work. You never instantiate the
> Idle etc. classes, which means the methods won't work. You need to make
> them class methods or static methods, or perform some metaclass magic
> prevent them from being turned into instance methods when called.

Actually, he does - setting a state means instantiating that state. I
still don't see where the benefit is, beyond that you reach the right
margin quicker than anyone else does.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to