(self, old, new, maxsplit=-1)
| 1594 | return self.data.partition(sep) |
| 1595 | |
| 1596 | def replace(self, old, new, maxsplit=-1): |
| 1597 | if isinstance(old, UserString): |
| 1598 | old = old.data |
| 1599 | if isinstance(new, UserString): |
| 1600 | new = new.data |
| 1601 | return self.__class__(self.data.replace(old, new, maxsplit)) |
| 1602 | |
| 1603 | def rfind(self, sub, start=0, end=_sys.maxsize): |
| 1604 | if isinstance(sub, UserString): |
no test coverage detected