@@ -4785,18 +4785,18 @@ static slotdef slotdefs[] = {
47854785 \n\
47864786 Use of negative indices is not supported." ),
47874787 SQSLOT ("__setitem__" , sq_ass_item , slot_sq_ass_item , wrap_sq_setitem ,
4788- "x.__setitem__(i, y) <==> x[i]=y\n\
4789- \n\
4790- Use of negative indices is not supported." ),
4788+ "x.__setitem__(i, y) <==> x[i]=y" ),
47914789 SQSLOT ("__delitem__" , sq_ass_item , slot_sq_ass_item , wrap_sq_delitem ,
4792- "x.__delitem__(y) <==> del x[y]i\n\
4793- \n\
4794- Use of negative indices is not supported." ),
4790+ "x.__delitem__(y) <==> del x[y]" ),
47954791 SQSLOT ("__setslice__" , sq_ass_slice , slot_sq_ass_slice ,
47964792 wrap_intintobjargproc ,
4797- "x.__setslice__(i, j, y) <==> x[i:j]=y" ),
4793+ "x.__setslice__(i, j, y) <==> x[i:j]=y\n\
4794+ \n\
4795+ Use of negative indices is not supported." ),
47984796 SQSLOT ("__delslice__" , sq_ass_slice , slot_sq_ass_slice , wrap_delslice ,
4799- "x.__delslice__(i, j) <==> del x[i:j]" ),
4797+ "x.__delslice__(i, j) <==> del x[i:j]\n\
4798+ \n\
4799+ Use of negative indices is not supported." ),
48004800 SQSLOT ("__contains__" , sq_contains , slot_sq_contains , wrap_objobjproc ,
48014801 "x.__contains__(y) <==> y in x" ),
48024802 SQSLOT ("__iadd__" , sq_inplace_concat , slot_sq_inplace_concat ,
0 commit comments