Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49931

Re: How is this evaluated

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.163
X-Spam-Level *
X-Spam-Evidence '*H*': 0.75; '*S*': 0.08; 'subject:How': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'skip:? 20': 0.31; 'steven': 0.31; 'fri,': 0.33; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'jul': 0.74; 'subject:this': 0.83; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PdzvOhXeNc/xyms4P+SudKptac0dpCCRDb5YEsE67yY=; b=he4DaTcuV9lWzA/WrveYSBgRBiVO5JulWs7/WUIV1eswK5BAvvMO+VJyXXnmzgV8Bn gzJ8bHVxGhhHoMXfkMqLujWjX6xIwnyzgHv8w4BXYWZ6ffw58XtB1kxCYvc3q/wr4y0m g2xBkaoYY/UW3oSr12GRwDQj3S11sF0P5ox/AgYZ7HgCoxUF2sspb3px0KosZ0cNV0+E r7tdT1RJL9LqfSBhjuu2j41nkEDnzbwl8e0q4DnwRJo+91Kp6b8dbknU93x65G7+wjYB CIdiXYWOuhkb1wK2ThuQvpyNvzMdTgR3e3xYJn6A+peFA1SmWyzVpUAXHr5qJaJrkdXb KLLA==
MIME-Version 1.0
X-Received by 10.52.16.105 with SMTP id f9mr4736962vdd.28.1373007949183; Fri, 05 Jul 2013 00:05:49 -0700 (PDT)
In-Reply-To <51d62451$0$29999$c3e8da3$5496439d@news.astraweb.com>
References <81f466df-5203-48a7-97a8-643b70d9dd16@googlegroups.com> <51d62451$0$29999$c3e8da3$5496439d@news.astraweb.com>
Date Fri, 5 Jul 2013 17:05:49 +1000
Subject Re: How is this evaluated
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4269.1373007952.3114.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373007952 news.xs4all.nl 15904 [2001:888:2000:d::a6]:52400
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49931

Show key headers only | View raw


On Fri, Jul 5, 2013 at 11:41 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> If you know C, that's like:
>
>     ?(condition-being-tested, value-if-true, value-if-false)

Or to be precise:

condition-being-tested ? value-if-true : value-if-false

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How is this evaluated Arturo B <a7xrturodev@gmail.com> - 2013-07-04 10:20 -0700
  Re: How is this evaluated Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-07-04 20:05 +0200
  Re: How is this evaluated newspost2012@gmx.de - 2013-07-04 11:07 -0700
  Re: How is this evaluated Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-07-04 21:22 +0300
  Re: How is this evaluated Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-05 01:41 +0000
    Re: How is this evaluated Chris Angelico <rosuav@gmail.com> - 2013-07-05 17:05 +1000
      Re: How is this evaluated Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-05 08:38 +0000

csiph-web