From: Guido van Rossum Date: Tue, 4 Jun 1991 19:36:32 +0000 (+0000) Subject: Fix comments in string_as_sequence X-Git-Tag: v0.9.8~924 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f380e66c0f0afd748fa5a7e1a1a86d2d9acee1bb;p=thirdparty%2FPython%2Fcpython.git Fix comments in string_as_sequence --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 68f5c3a7927c..f50f403b7697 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -288,13 +288,13 @@ stringcompare(a, b) } static sequence_methods string_as_sequence = { - stringlength, /*tp_length*/ - stringconcat, /*tp_concat*/ - stringrepeat, /*tp_repeat*/ - stringitem, /*tp_item*/ - stringslice, /*tp_slice*/ - 0, /*tp_ass_item*/ - 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*/ }; typeobject Stringtype = {