diff options
author | Brett Cannon <bcannon@gmail.com> | 2003-05-20 02:40:12 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2003-05-20 02:40:12 (GMT) |
commit | be67d87e4d6a63faefef40888a966a663ae54380 (patch) | |
tree | a9f09cd87c667f89e664834cf1d521abc0810586 /Objects | |
parent | 154da9b7e2c8e713788cfaa8d25d8c21edd826f9 (diff) | |
download | cpython-be67d87e4d6a63faefef40888a966a663ae54380.zip cpython-be67d87e4d6a63faefef40888a966a663ae54380.tar.gz cpython-be67d87e4d6a63faefef40888a966a663ae54380.tar.bz2 |
Fixing the previous patch to have the changes be to the proper docstrings.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index c9fcaa7..9a23227 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -4785,18 +4785,18 @@ static slotdef slotdefs[] = { \n\ Use of negative indices is not supported."), SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem, - "x.__setitem__(i, y) <==> x[i]=y\n\ - \n\ - Use of negative indices is not supported."), + "x.__setitem__(i, y) <==> x[i]=y"), SQSLOT("__delitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_delitem, - "x.__delitem__(y) <==> del x[y]i\n\ - \n\ - Use of negative indices is not supported."), + "x.__delitem__(y) <==> del x[y]"), SQSLOT("__setslice__", sq_ass_slice, slot_sq_ass_slice, 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, - "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, "x.__contains__(y) <==> y in x"), SQSLOT("__iadd__", sq_inplace_concat, slot_sq_inplace_concat, |