can I overload operators like "=>", "->" or something like that?

Tim Chase python.list at tim.thechases.com
Fri Apr 20 13:43:28 EDT 2012


On 04/20/12 11:45, Kiuhnm wrote:
>> IOW, you can't define "->" or "=>", but you could define">=" or ">>".
>
> You can also "overload" '<-' ;)

Oooh, that's evil.  Slick, but evil! :-D

-tkc





More information about the Python-list mailing list