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!newsfeed3.news.xs4all.nl!xs4all!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.103 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.83; '*S*': 0.03; 'charset:iso-8859-7': 0.04; 'cc:addr:python-list': 0.11; 'nick': 0.16; 'typos': 0.16; 'wrote:': 0.18; '(where': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'not.': 0.33; 'received:google.com': 0.35; '14,': 0.36; 'how': 0.40; 'expression': 0.60; 'show': 0.63; 'within': 0.65; 'subject:gets': 0.84; 'to:addr:support': 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:from:date:message-id:subject:to :cc:content-type; bh=yzwrxU8BorxngVycmirFPtJFM3KtjxH+AgzANiqSEEA=; b=orhz8uQgYlqC3HNNUv8V68rqWNC4RiRusWrYsfRKkZnjy/Zcg42Iqlbg+ds+RwHCdS MmvXZ/UUEBj4Lg90OqQd/cQ0Li46hsVeWoFL5FPkuuNQMnhZVdtwQJ1NaQZ5hEMxF88C PhaebXjPtuIwKEWI3ZQ1Lp7pOhVg98VaBjO+Bj2yc0D9TR65Sw7W5iN0VzE8Ohx4alhr OEXc2PQviRkqbnHfQXnWqD8ZmfKrcxgXs1Vnl5EF96JX6ynwMV3ig369UxBVATv+rE6/ 59ieNNv+bmgnQEh+7hG2ngKYK4mGEiwORlIyd3U7Z049TBgHDqlwyVz5RAV2LaTYKNd3 TzVg== X-Received: by 10.152.88.5 with SMTP id bc5mr621098lab.81.1371198514717; Fri, 14 Jun 2013 01:28:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <2bc90d3b-09c2-4315-9357-ff7f039465e0@googlegroups.com> <51b926a3$0$29997$c3e8da3$5496439d@news.astraweb.com> <51ba6e92$0$29997$c3e8da3$5496439d@news.astraweb.com> From: "R. Michael Weylandt" Date: Fri, 14 Jun 2013 09:28:14 +0100 Subject: Re: A certainl part of an if() structure never gets executed. To: Nick the Gr33k Content-Type: text/plain; charset=ISO-8859-7 Cc: python-list 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371198521 news.xs4all.nl 15938 [2001:888:2000:d::a6]:34331 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48086 On Fri, Jun 14, 2013 at 9:24 AM, R. Michael Weylandt wrote: > On Fri, Jun 14, 2013 at 9:03 AM, Nick the Gr33k wrote:> >> >> No clue. since the expression in parenthesis returns 'abcd' how can 'k' >> contained within 'abcd' ? > > No it's not. See both above (where you use 'or' instead) and below > where _you yourself_ show that it's not 'abcd.' s/it's not/it doesn't return/g Typos always and forever, MW