Bengt Richter wrote:
>  >>> m=type('',(),{})()
>  >>> m.title = 'not so fast ;-)'
>  >>> m.title
>  'not so fast ;-)'

Now THAT is a cool object trick. :)


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

Reply via email to