mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fixing the previous patch to have the changes be to the proper docstrings.
This commit is contained in:
parent
154da9b7e2
commit
be67d87e4d
1 changed files with 8 additions and 8 deletions
|
@ -4785,18 +4785,18 @@ static slotdef slotdefs[] = {
|
||||||
\n\
|
\n\
|
||||||
Use of negative indices is not supported."),
|
Use of negative indices is not supported."),
|
||||||
SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem,
|
SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem,
|
||||||
"x.__setitem__(i, y) <==> x[i]=y\n\
|
"x.__setitem__(i, y) <==> x[i]=y"),
|
||||||
\n\
|
|
||||||
Use of negative indices is not supported."),
|
|
||||||
SQSLOT("__delitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_delitem,
|
SQSLOT("__delitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_delitem,
|
||||||
"x.__delitem__(y) <==> del x[y]i\n\
|
"x.__delitem__(y) <==> del x[y]"),
|
||||||
\n\
|
|
||||||
Use of negative indices is not supported."),
|
|
||||||
SQSLOT("__setslice__", sq_ass_slice, slot_sq_ass_slice,
|
SQSLOT("__setslice__", sq_ass_slice, slot_sq_ass_slice,
|
||||||
wrap_intintobjargproc,
|
wrap_intintobjargproc,
|
||||||
"x.__setslice__(i, j, y) <==> x[i:j]=y"),
|
"x.__setslice__(i, j, y) <==> x[i:j]=y\n\
|
||||||
|
\n\
|
||||||
|
Use of negative indices is not supported."),
|
||||||
SQSLOT("__delslice__", sq_ass_slice, slot_sq_ass_slice, wrap_delslice,
|
SQSLOT("__delslice__", sq_ass_slice, slot_sq_ass_slice, wrap_delslice,
|
||||||
"x.__delslice__(i, j) <==> del x[i:j]"),
|
"x.__delslice__(i, j) <==> del x[i:j]\n\
|
||||||
|
\n\
|
||||||
|
Use of negative indices is not supported."),
|
||||||
SQSLOT("__contains__", sq_contains, slot_sq_contains, wrap_objobjproc,
|
SQSLOT("__contains__", sq_contains, slot_sq_contains, wrap_objobjproc,
|
||||||
"x.__contains__(y) <==> y in x"),
|
"x.__contains__(y) <==> y in x"),
|
||||||
SQSLOT("__iadd__", sq_inplace_concat, slot_sq_inplace_concat,
|
SQSLOT("__iadd__", sq_inplace_concat, slot_sq_inplace_concat,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue