Lines Matching refs:__class__
26 return self.__class__(orig(self, *args, **kwargs))
85 return self.__class__(super().__add__(self.escape(other)))
97 return self.__class__(super().__mul__(num))
109 return self.__class__(super().__mod__(arg))
115 return self.__class__(super().join(map(self.escape, seq)))
122 return [self.__class__(v) for v in super().split(sep, maxsplit)]
129 return [self.__class__(v) for v in super().rsplit(sep, maxsplit)]
134 return [self.__class__(v) for v in super().splitlines(keepends)]
166 if rv.__class__ is not cls:
195 cls = self.__class__
200 cls = self.__class__
205 return self.__class__(formatter.vformat(self, args, kwargs))