optional arguments for list.sort()
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 13 Dec 2008 18:55:30 +0000 (10:55 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 13 Dec 2008 18:55:30 +0000 (10:55 -0800)
Cython/Compiler/Builtin.py

index 0ae9b91a1be0812d44b2d27a2ad94adb2e33574b..759e19f6077e758da9aaead38bb49b25abf87b80 100644 (file)
@@ -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"),