(&self)
| 694 | |
| 695 | #[pymethod] |
| 696 | fn lower(&self) -> Self { |
| 697 | match self.as_str_kind() { |
| 698 | PyKindStr::Ascii(s) => s.to_ascii_lowercase().into(), |
| 699 | PyKindStr::Utf8(s) => s.to_lowercase().into(), |
| 700 | PyKindStr::Wtf8(w) => w.to_lowercase().into(), |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | // casefold is much more aggressive than lower |
| 705 | #[pymethod] |
nothing calls this directly
no test coverage detected