In <61edc02c-4f86-45ef-82a1-61c701300...@t38g2000yqe.googlegroups.com> noydb 
<jenn.du...@gmail.com> writes:

> My sort issue... as in this doesn't work
> >>> if x.sort =3D=3D y.sort:
> ...   print 'equal'
> ... else:
> ...   print 'not equal'
> ...
> not equal

> ???

Use x.sort() instead of x.sort .

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to