summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/partition.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7622: Improve the split(), rsplit(), splitlines() and replace()Antoine Pitrou2010-01-131-39/+44
| | | | | methods of bytes, bytearray and unicode objects by using a common implementation based on stringlib's fast search. Patch by Florent Xicluna.
* Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,Antoine Pitrou2010-01-021-9/+3
| | | | `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
* Fix endcase for str.rpartition()Raymond Hettinger2006-09-041-4/+4
|
* needforspeed: replace improvements, changed to Py_LOCAL_INLINEFredrik Lundh2006-05-271-2/+2
| | | | where appropriate
* Fix Coverity warnings.Neal Norwitz2006-05-271-6/+1
| | | | | - Check the correct variable (str_obj, not str) for NULL - sep_len was already verified it wasn't 0
* needforspeed: stringlib refactoring, continued. added count andFredrik Lundh2006-05-261-4/+12
| | | | find helpers; updated unicodeobject to use stringlib_count
* needforspeed: added rpartition implementationFredrik Lundh2006-05-261-1/+61
|
* removed unnecessary includeFredrik Lundh2006-05-261-2/+0
|
* needforspeed: stringlib refactoring (in progress)Fredrik Lundh2006-05-261-0/+50