mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove the simple slicing API. All slicing is now done with slice objects.
This commit is contained in:
parent
582b586617
commit
d2cf20eea2
32 changed files with 78 additions and 810 deletions
|
@ -554,7 +554,7 @@ static PySequenceMethods tuple_as_sequence = {
|
|||
(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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue