[Python-Dev] RE: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.304, 2.305 (original) (raw)

Raymond Hettinger python at rcn.com
Wed Dec 17 16:19:27 EST 2003


[Raymond]

> Guido grants a Christmas wish: > sorted() becomes a regular function instead of a classmethod.

[Neal]

Would sort() be a better name? When I told someone who's done quite a bit of java recently about sorted, he asked if it returned a bool whether the list was sorted or not. :-)

I think sorted() is better:

my two cents,

Raymond Hettinger



More information about the Python-Dev mailing list