[Python-Dev] Re: Trinary Operators

Fred L. Drake, Jr. fdrake@acm.org
Thu, 6 Feb 2003 17:54:58 -0500


Gary Herron writes:
 >              x for x>=0
 >  abs(x) = {
 >             -x for x<0
...
 > (Of course I can't typeset it in email, but perhaps one can imagine
 > the "{" large enough to encompass both lines on the right.)

            /
            |   x for x >= 0
  abs(x) = <
            |  -x for x < 0
            \

Yeah, I guess it's hopeless.  ;-(


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation