(
self,
sep: str | None = None,
maxsplit: SupportsIndex = -1,
)
| 180 | return BitString(super().replace(old, new, count), False) |
| 181 | |
| 182 | def split( |
| 183 | self, |
| 184 | sep: str | None = None, |
| 185 | maxsplit: SupportsIndex = -1, |
| 186 | ) -> list[str]: |
| 187 | return [BitString(word) for word in super().split(sep, maxsplit)] |
| 188 | |
| 189 | def zfill(self, width: SupportsIndex) -> BitString: |
| 190 | return BitString(super().zfill(width), False) |