From a742e84db51352c0504243bcfc0c6d09f3ba0bca Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sat, 13 Dec 2008 10:55:30 -0800 Subject: [PATCH] optional arguments for list.sort() --- Cython/Compiler/Builtin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 0ae9b91a..759e19f6 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -101,7 +101,7 @@ builtin_types_table = [ ("list", "PyList_Type", [("append", "OO", "i", "PyList_Append"), ("insert", "OZO", "i", "PyList_Insert"), - ("sort", "O", "i", "PyList_Sort"), +# ("sort", "O", "i", "PyList_Sort"), # has optional arguments ("reverse","O", "i", "PyList_Reverse")]), ("dict", "PyDict_Type", [("items", "O", "O", "PyDict_Items"), -- 2.26.2