(&self)
| 1112 | // Return true if all cased characters in the string are uppercase and there is at least one cased character, false otherwise. |
| 1113 | #[pymethod] |
| 1114 | fn isupper(&self) -> bool { |
| 1115 | match self.as_str_kind() { |
| 1116 | PyKindStr::Ascii(s) => s.py_isupper(), |
| 1117 | PyKindStr::Utf8(s) => s.py_isupper(), |
| 1118 | PyKindStr::Wtf8(w) => w.py_isupper(), |
| 1119 | } |
| 1120 | } |
| 1121 | |
| 1122 | #[pymethod] |
| 1123 | fn splitlines(&self, args: anystr::SplitLinesArgs, vm: &VirtualMachine) -> Vec<PyObjectRef> { |
nothing calls this directly
no test coverage detected