(&self)
| 720 | |
| 721 | #[pymethod] |
| 722 | fn upper(&self) -> Self { |
| 723 | match self.as_str_kind() { |
| 724 | PyKindStr::Ascii(s) => s.to_ascii_uppercase().into(), |
| 725 | PyKindStr::Utf8(s) => s.to_uppercase().into(), |
| 726 | PyKindStr::Wtf8(w) => w.to_uppercase().into(), |
| 727 | } |
| 728 | } |
| 729 | |
| 730 | #[pymethod] |
| 731 | fn capitalize(&self) -> Wtf8Buf { |
nothing calls this directly
no test coverage detected