mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Guido grants a Christmas wish:
sorted() becomes a regular function instead of a classmethod.
This commit is contained in:
parent
df38ea9c29
commit
64958a15d7
15 changed files with 120 additions and 138 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue