summaryrefslogtreecommitdiffstats
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2007-11-16 18:04:14 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2007-11-16 18:04:14 (GMT)
commit57d5669f4be86fcaf21f95436fcd5142ffe5efae (patch)
tree332a4d0e4f0069b55af028ade293def34622954f /Objects/tupleobject.c
parent5397fd1a51d2f5bbb9ca1f5a385538e6072ced26 (diff)
downloadcpython-57d5669f4be86fcaf21f95436fcd5142ffe5efae.zip
cpython-57d5669f4be86fcaf21f95436fcd5142ffe5efae.tar.gz
cpython-57d5669f4be86fcaf21f95436fcd5142ffe5efae.tar.bz2
Now in find, rfind, index, and rindex, you can use None as defaults,
as usual with slicing (both with str and unicode strings). This fixes issue 1259. For str only the stringobject.c file was modified. But for unicode, I needed to repeat in the four functions a lot of code, so created a new function that does part of the job for them (and placed it in find.h, following a suggestion of Barry). Also added tests for this behaviour.
Diffstat (limited to 'Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions