On Thu, Jul 2, 2020 at 7:04 PM Steven D'Aprano <[email protected]> wrote:
> That makes five by my count, however I hardly ever write a deleter so
> three is more common, and only occassionally a setter so one is most
> common :-)
>

Well, if you only want a getter, the most common way is fine. But if
you then go to add a setter, you have to keep things in sync.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/57P3IFRKJ5ELWOW7ER6RJWALRHBVHREJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to