diff options
author | Guido van Rossum <guido@python.org> | 1991-06-04 19:36:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-04 19:36:32 (GMT) |
commit | f380e66c0f0afd748fa5a7e1a1a86d2d9acee1bb (patch) | |
tree | 67ec4596cc9a1d09c2e32baabe591ec2faa84301 /Objects/stringobject.c | |
parent | b8393da8f845ff4018781d926f157bdb7bff7c1c (diff) | |
download | cpython-f380e66c0f0afd748fa5a7e1a1a86d2d9acee1bb.zip cpython-f380e66c0f0afd748fa5a7e1a1a86d2d9acee1bb.tar.gz cpython-f380e66c0f0afd748fa5a7e1a1a86d2d9acee1bb.tar.bz2 |
Fix comments in string_as_sequence
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 68f5c3a..f50f403 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 = { |