Other notes

Bengt Richter bokr at oz.net
Thu Dec 30 00:28:41 EST 2004


On Thu, 30 Dec 2004 04:46:25 GMT, bokr at oz.net (Bengt Richter) wrote:
[...]
>Ok, well, that's happened to me before ;-)
>We'll have to find a way to make it illegal, but it's not likely to be quite as clean.
>
>    x ..OP y
>    x ./OP y
>    x .<OP y
>    x .<OP>. y
>    X ._OP_. y 
Bzzzt! ;-/

>    x ..OP.. y # for symmetry ;-)
>
>    X .(OP). y # emphasizes the .expression. returning a function accepting two args
>
>That might be the best one.

Regards,
Bengt Richter



More information about the Python-list mailing list