[Python-checkins] python/dist/src/Objects typeobject.c,2.231,2.232
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Mon, 19 May 2003 19:40:15 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv8466/Objects
Modified Files:
typeobject.c
Log Message:
Fixing the previous patch to have the changes be to the proper docstrings.
Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.231
retrieving revision 2.232
diff -C2 -d -r2.231 -r2.232
*** typeobject.c 20 May 2003 02:30:04 -0000 2.231
--- typeobject.c 20 May 2003 02:40:12 -0000 2.232
***************
*** 4786,4801 ****
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."),
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."),
SQSLOT("__setslice__", sq_ass_slice, slot_sq_ass_slice,
wrap_intintobjargproc,
! "x.__setslice__(i, j, y) <==> x[i:j]=y"),
SQSLOT("__delslice__", sq_ass_slice, slot_sq_ass_slice, wrap_delslice,
! "x.__delslice__(i, j) <==> del x[i:j]"),
SQSLOT("__contains__", sq_contains, slot_sq_contains, wrap_objobjproc,
"x.__contains__(y) <==> y in x"),
--- 4786,4801 ----
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"),
SQSLOT("__delitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_delitem,
! "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\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]\n\
! \n\
! Use of negative indices is not supported."),
SQSLOT("__contains__", sq_contains, slot_sq_contains, wrap_objobjproc,
"x.__contains__(y) <==> y in x"),