[Python-ideas] Adding __getter__ to compliment __iter__.

Yuval Greenfield ubershmekel at gmail.com
Thu Jul 18 08:45:24 CEST 2013


On Thu, Jul 18, 2013 at 9:26 AM, Ron Adam <ron3200 at gmail.com> wrote:

>
> Basically the idea is to get a getter obj from a container and be able to
> use it to send things into that container just like we use iter objects to
> get thing out.
>
>
This is an interesting summary of a perhaps interesting idea. I don't
understand why you would call this a "getter" interface. Perhaps it's an
"inserter", "adder" or "sender".


Yuval

PS I had a hard time editing the top-post. Please try and stick with the
convention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130718/b4c4c9ca/attachment.html>


More information about the Python-ideas mailing list