(self, old, new, maxsplit=-1)
| 1554 | return self.data.partition(sep) |
| 1555 | |
| 1556 | def replace(self, old, new, maxsplit=-1): |
| 1557 | if isinstance(old, UserString): |
| 1558 | old = old.data |
| 1559 | if isinstance(new, UserString): |
| 1560 | new = new.data |
| 1561 | return self.__class__(self.data.replace(old, new, maxsplit)) |
| 1562 | |
| 1563 | def rfind(self, sub, start=0, end=_sys.maxsize): |
| 1564 | if isinstance(sub, UserString): |
no test coverage detected