(self, sep)
| 183 | # new in python 2.5 |
| 184 | if hasattr(text_type, 'partition'): |
| 185 | def partition(self, sep): |
| 186 | return tuple(map(self.__class__, |
| 187 | text_type.partition(self, self.escape(sep)))) |
| 188 | def rpartition(self, sep): |
| 189 | return tuple(map(self.__class__, |
| 190 | text_type.rpartition(self, self.escape(sep)))) |