diff Objects/tupleobject.c @ 43100:4e6b4ba60c3b

Remove the simple slicing API. All slicing is now done with slice objects.
author Thomas Wouters <thomas@python.org>
date Thu, 30 Aug 2007 22:57:53 +0000
parents 27f0289b6835
children 3e5edf19d5f0
line wrap: on
line diff
--- a/Objects/tupleobject.c	Thu Aug 30 22:39:17 2007 +0000
+++ b/Objects/tupleobject.c	Thu Aug 30 22:57:53 2007 +0000
@@ -554,7 +554,7 @@
 	(binaryfunc)tupleconcat,		/* sq_concat */
 	(ssizeargfunc)tuplerepeat,		/* sq_repeat */
 	(ssizeargfunc)tupleitem,		/* sq_item */
-	(ssizessizeargfunc)tupleslice,		/* sq_slice */
+	0,					/* sq_slice */
 	0,					/* sq_ass_item */
 	0,					/* sq_ass_slice */
 	(objobjproc)tuplecontains,		/* sq_contains */