How to make a method into a property without using the @property decorator

Phlip phlip2005 at
Sat Oct 23 19:25:11 CEST 2010

On Oct 23, 8:01 am, Peter Otten <__pete... at> wrote:

> You may be better off with __getattr__().

Ayup, thanks. (Maybe I should have googled for "python equivalent of
ruby method_missing", hmm?;)

More information about the Python-list mailing list