Ternary plus

Martin Drautzburg Martin.Drautzburg at web.de
Mon Feb 8 21:59:18 CET 2010

Just for the hell of it ...

I can easily define __plus__() with three parameters. If the last one is
optional the + operation works as expected. Is there a way to pass the
third argument to "+"

More information about the Python-list mailing list