What behavior would you expect?

Jason Friedman jsf80238 at gmail.com
Fri Feb 20 00:51:57 EST 2015


>
> I'd still advise using my_list.sort() rather than sorted(), as you
> don't need to retain the original.
>
>
Hmm.

Trying to figure out what that looks like.
If I understand correctly, list.sort() returns None.
What would I return to the caller?


> If you're going to call listdir, you probably want to use fnmatch directly.
>
>
Got it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150219/8e5bdacc/attachment.html>


More information about the Python-list mailing list