Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8393da commit f380e66Copy full SHA for f380e66
1 file changed
Objects/stringobject.c
@@ -288,13 +288,13 @@ stringcompare(a, b)
288
}
289
290
static sequence_methods string_as_sequence = {
291
- stringlength, /*tp_length*/
292
- stringconcat, /*tp_concat*/
293
- stringrepeat, /*tp_repeat*/
294
- stringitem, /*tp_item*/
295
- stringslice, /*tp_slice*/
296
- 0, /*tp_ass_item*/
297
- 0, /*tp_ass_slice*/
+ stringlength, /*sq_length*/
+ stringconcat, /*sq_concat*/
+ stringrepeat, /*sq_repeat*/
+ stringitem, /*sq_item*/
+ stringslice, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
298
};
299
300
typeobject Stringtype = {
0 commit comments