Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25135
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: what's the effect of cmp here? |
| Date | 2012-07-10 16:22 +0100 |
| References | <CAEMsKDsPBVMveXD1Z0yV9zkstzO87Sk438bCsS-=shdffAwXhw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1988.1341933661.4697.python-list@python.org> (permalink) |
On 10/07/2012 16:01, levi nie wrote: > aList=[3,2,5,4] > > bList=aList[:] > bList.sort() > print "bList is",bList > > cList=aList[:] > cList.sort(cmp) > print "cList is",cList > Why don't you tell us, you have the same documentatation avaialable as everybody else. -- Cheers. Mark Lawrence.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: what's the effect of cmp here? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-10 16:22 +0100
csiph-web