Why there isn't a sort method for array ?
John Machin
sjmachin at lexicon.net
Sun Dec 17 18:58:55 EST 2006
Tim Roberts wrote:
> "fdu.xiaojf at gmail.com" <fdu.xiaojf at gmail.com> wrote:
> >
> >It seems that an array acts like an list very much, except it doesn't
> >have a method sort.
>
> What do you mean by "array"? There is no such beast in the Python
> language. Do you mean the library module "array"?
>
Indubitably the OP means objects created by the array function in the
array module. Does that help you answer his question?
Cheers,
John
More information about the Python-list
mailing list