Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.049 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.02; 'python,': 0.02; 'answer?': 0.09; 'python': 0.11; '(unlike': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:exception': 0.16; 'subject:expression': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'sep': 0.31; "we're": 0.32; 'moment': 0.34; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'such': 0.63; 'news': 0.67; '26,': 0.68; 'attention.': 0.68; 'speak,': 0.84; '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=d4wEjAq4z/AXuuuVJgM1ukDs47IxIpB2QdCgWACeN6I=; b=dk3cK35lih1o9xK9rLTNxniPRtrQui+Vk35dtdPWMqBzzqYzkvwifaxXvsJNvUZysy 5eon6QNQRwHMAVdATCWdRYgcoaUzISKPLc8FGvtwm0IQS0FRtUgScbpCzJ0/PKdKY2i1 ot1vScYxkUnDQDKafbFj23orwZKgiJtaSUNgqwLmtBEVXjj1q7XRhRv+0cDqBI2pRgN7 QRYUhkE4+ZPRsVBSwZ9/HWL4v9LdhEnCEEnIRxZYcsv6UBH9Q64EAzPEARkPOO/fj+IZ kQSnEE7H4zDRQNwP6RrPA5dBT8clawRzxjS9bxq3hx0iqRgBkUD96LytQ+C59B0kxTNJ nelQ== MIME-Version: 1.0 X-Received: by 10.52.98.35 with SMTP id ef3mr219520vdb.37.1380184891810; Thu, 26 Sep 2013 01:41:31 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Sep 2013 18:41:31 +1000 Subject: Re: Handling 3 operands in an expression without raising an exception From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380184900 news.xs4all.nl 15996 [2001:888:2000:d::a6]:51724 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54790 On Thu, Sep 26, 2013 at 6:12 PM, Jussi Piitulainen wrote: > Do you know that you can ask for help({}.get) or help(dict.get) or > even help(os.environ.get) during such an interactive Python session, > and Python (unlike Macbeth's spirits from the vasty deep) will answer? Speak, Python, speak! We're all attention. The news we seek This moment mention! ChrisA