cython-devel
changeset 1484:4bbc6166052f
optional arguments for list.sort()
| author | Robert Bradshaw <robertwb@math.washington.edu> |
|---|---|
| date | Sat Dec 13 10:55:30 2008 -0800 (19 months ago) |
| parents | ae2b5e4187b9 |
| children | 421a3edf1abf |
| files | Cython/Compiler/Builtin.py |
line diff
1.1 --- a/Cython/Compiler/Builtin.py Sat Dec 13 15:21:41 2008 +0100
1.2 +++ b/Cython/Compiler/Builtin.py Sat Dec 13 10:55:30 2008 -0800
1.3 @@ -101,7 +101,7 @@
1.4
1.5 ("list", "PyList_Type", [("append", "OO", "i", "PyList_Append"),
1.6 ("insert", "OZO", "i", "PyList_Insert"),
1.7 - ("sort", "O", "i", "PyList_Sort"),
1.8 +# ("sort", "O", "i", "PyList_Sort"), # has optional arguments
1.9 ("reverse","O", "i", "PyList_Reverse")]),
1.10
1.11 ("dict", "PyDict_Type", [("items", "O", "O", "PyDict_Items"),
