(
&self,
sub: &Self,
vm: &VirtualMachine,
)
| 697 | } |
| 698 | |
| 699 | pub fn rpartition( |
| 700 | &self, |
| 701 | sub: &Self, |
| 702 | vm: &VirtualMachine, |
| 703 | ) -> PyResult<(Vec<u8>, bool, Vec<u8>)> { |
| 704 | self.elements.py_partition( |
| 705 | &sub.elements, |
| 706 | || self.elements.rsplitn_str(2, &sub.elements), |
| 707 | vm, |
| 708 | ) |
| 709 | } |
| 710 | |
| 711 | pub fn expandtabs(&self, options: anystr::ExpandTabsArgs) -> Vec<u8> { |
| 712 | let tabsize = options.tabsize(); |
no test coverage detected