summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2007-11-16 18:04:14 +0000
committerFacundo Batista <facundobatista@gmail.com>2007-11-16 18:04:14 +0000
commit57d5669f4be86fcaf21f95436fcd5142ffe5efae (patch)
tree332a4d0e4f0069b55af028ade293def34622954f /Python/errors.c
parent5397fd1a51d2f5bbb9ca1f5a385538e6072ced26 (diff)
downloadcpython-git-57d5669f4be86fcaf21f95436fcd5142ffe5efae.tar.gz
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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions