Re: vote on prop keyword
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Paul Prescod wrote: > Can I use this elsewhere? At the top level: > > object foo(Property): > def set_(abc): > ... > > foo = 5 # calls set_ instead of rebinding??? I misunderstood. Yes this should work fine as a normal property. You do understand that prop works the same way, right. You seem to be stuck on this object statement.