Fix comments in string_as_sequence
This commit is contained in:
parent
b8393da8f8
commit
f380e66c0f
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue