Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'mrab': 0.05; '22,': 0.09; '[1,': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:ever': 0.16; 'subject:program': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'received:209.85.214.174': 0.21; 'assuming': 0.22; 'header:In- Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'same.': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'jul': 0.65 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=h3oFRxw0vZWBKMP8r9LqZXZI/nHx8OVQ60oiHLzYApo=; b=Grblt7fih+F7oBrGj2e1cBY6jo/UmS71hF14kGjzQ38cLYMlmlZT4/xvgXlgeUU0tS tZN5x0Y+ZFYtZmtq+qC9TnXpCvjnInbsUl+qG8J7UgBOoZLLEmoso8hvdxvnlaNkBuOd B0LWYPUctWKCN0zZWMdX4NiA0qEFZby+/L7sbLqraDUlY34lkTLbQ/QB9KwUI1CC6kG1 oEW/RnbSNTislIaXy9dIdDrQwNN50aHnTf2uiftabamk8BiZTUi7RzjIEXFnQ26BR50z XupNZna1RNoP4aTbg6EzpB0YLwTuAumhmc2pI6u+CM68zchlZTKAwPGzhMl1HTwHr6zA 4oCQ== MIME-Version: 1.0 In-Reply-To: <500B5DC4.7020204@mrabarnett.plus.com> References: <500b4a27$0$29978$c3e8da3$5496439d@news.astraweb.com> <500B5DC4.7020204@mrabarnett.plus.com> Date: Sun, 22 Jul 2012 11:59:38 +1000 Subject: Re: My first ever Python program, comments welcome 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.12 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342922381 news.xs4all.nl 6858 [2001:888:2000:d::a6]:47530 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25791 On Sun, Jul 22, 2012 at 11:56 AM, MRAB wrote: > Since the result is bound to the original name, the > result is the same. Yes, assuming there are no other refs. >>> a=[3,2,1] >>> b=a >>> a=sorted(a) >>> a [1, 2, 3] >>> b [3, 2, 1] ChrisA