Fix comments in string_as_sequence

This commit is contained in:
Guido van Rossum 1991-06-04 19:36:32 +00:00
parent b8393da8f8
commit f380e66c0f
1 changed files with 7 additions and 7 deletions

View File

@ -288,13 +288,13 @@ stringcompare(a, b)
} }
static sequence_methods string_as_sequence = { static sequence_methods string_as_sequence = {
stringlength, /*tp_length*/ stringlength, /*sq_length*/
stringconcat, /*tp_concat*/ stringconcat, /*sq_concat*/
stringrepeat, /*tp_repeat*/ stringrepeat, /*sq_repeat*/
stringitem, /*tp_item*/ stringitem, /*sq_item*/
stringslice, /*tp_slice*/ stringslice, /*sq_slice*/
0, /*tp_ass_item*/ 0, /*sq_ass_item*/
0, /*tp_ass_slice*/ 0, /*sq_ass_slice*/
}; };
typeobject Stringtype = { typeobject Stringtype = {