(&self, args: anystr::ExpandTabsArgs, vm: &VirtualMachine)
| 1344 | |
| 1345 | #[pymethod] |
| 1346 | fn expandtabs(&self, args: anystr::ExpandTabsArgs, vm: &VirtualMachine) -> PyResult<String> { |
| 1347 | // TODO: support WTF-8 |
| 1348 | Ok(rustpython_common::str::expandtabs( |
| 1349 | self.try_as_utf8(vm)?.as_str(), |
| 1350 | args.tabsize(), |
| 1351 | )) |
| 1352 | } |
| 1353 | |
| 1354 | #[pymethod] |
| 1355 | pub fn isidentifier(&self) -> bool { |
nothing calls this directly
no test coverage detected