Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95432
| References | <006601d0d8e1$c17c1480$44743d80$@inbox.ru> |
|---|---|
| Date | 2015-08-17 17:14 +0300 |
| Subject | Re: Python 3 sort() problem |
| From | Joonas Liik <liik.joonas@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.59.1439820893.4764.python-list@python.org> (permalink) |
> > I know that sort() returns None, but I guess that it would be returned x > that was sorted. Why so? if it returned a sorted list it might lead some people to believe it did not modify the oridinal list which would lead to a ton of confusion for new users.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python 3 sort() problem Joonas Liik <liik.joonas@gmail.com> - 2015-08-17 17:14 +0300
csiph-web