Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Rani Hod <rani.hod <at> gmail.com>
Subject: Re: Self containment
Newsgroups: gmane.comp.python.israel
Date: Monday 14th November 2011 00:35:32 UTC (over 6 years ago)
> As a hint, consider that a truly sorted x is
>
> ['one','two',['one','two',[...],'three'],'three']
>
> Consider how that is different from sorted()'s output.
>

This should be

['one','two',[...],'three']

unless you mean there are two list objects, i.e.,

y = ['one','two',None,'three']
x = ['one','two',y,'three']
y[2] = x
 
CD: 4ms