Guido grants a Christmas wish:

sorted() becomes a regular function instead of a classmethod.
This commit is contained in:
Raymond Hettinger 2003-12-17 20:43:33 +00:00
parent df38ea9c29
commit 64958a15d7
15 changed files with 120 additions and 138 deletions

View file

@ -226,8 +226,7 @@ Instead, you can get the same information from the list type:
'pop',
'remove',
'reverse',
'sort',
'sorted']
'sort']
The new introspection API gives more information than the old one: in
addition to the regular methods, it also shows the methods that are