[Python-Dev] Re: Trinary Operators (original) (raw)
Fred L. Drake, Jr. fdrake@acm.org
Thu, 6 Feb 2003 17:54:58 -0500
- Previous message: [Python-Dev] Re: Trinary Operators
- Next message: [Python-Dev] Re: Trinary Operators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. PythonLabs at Zope Corporation
- Previous message: [Python-Dev] Re: Trinary Operators
- Next message: [Python-Dev] Re: Trinary Operators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]