what's the effect of cmp here?
Mark Lawrence
breamoreboy at yahoo.co.uk
Tue Jul 10 11:22:27 EDT 2012
More information about the Python-list mailing list
Tue Jul 10 11:22:27 EDT 2012
- Previous message (by thread): what's the effect of cmp here?
- Next message (by thread): ANN: Intro+Intermediate Python, San Francisco, Aug 1-3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): what's the effect of cmp here?
- Next message (by thread): ANN: Intro+Intermediate Python, San Francisco, Aug 1-3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list