[Python-ideas] Adding __getter__ to compliment __iter__.

Steven D'Aprano steve at pearwood.info
Mon Jul 22 09:27:07 CEST 2013


On 22/07/13 15:16, Ron Adam wrote:
> A much less used symbol is __lshift__ , '<<'.  I think it also carries the right meaning of sending the value on the right to the object on the left.

I don't think that "sending the value" has any connection to concatenation, or at least no more than *any* method call can be considered "sending" a message to an object.



-- 
Steven


More information about the Python-ideas mailing list