summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/find.h
Commit message (Collapse)AuthorAgeFilesLines
* #3967: Correct a crash in count() and find() methods of string-like objects.Amaury Forgeot d'Arc2008-09-261-4/+3
| | | | | | | For example: "".count("xxxx", sys.maxint, 0) Backport of r66631.
* changed find/rfind to return -1 for matches outside the source stringFredrik Lundh2006-05-301-10/+11
|
* needforspeed: stringlib refactoring: changed find_obj to find_slice,Fredrik Lundh2006-05-271-18/+39
| | | | to enable use from stringobject
* needforspeed: replace improvements, changed to Py_LOCAL_INLINEFredrik Lundh2006-05-271-5/+5
| | | | where appropriate
* needforspeed: more stringlib refactoringFredrik Lundh2006-05-271-0/+33
|
* needforspeed: stringlib refactoring: use stringlib/find for string findFredrik Lundh2006-05-261-6/+15
|
* needforspeed: stringlib refactoring, continued. added count andFredrik Lundh2006-05-261-0/+49
find helpers; updated unicodeobject to use stringlib_count