(ch: u32)
| 383 | } |
| 384 | #[inline] |
| 385 | pub(crate) fn upper_locate(ch: u32) -> u32 { |
| 386 | // FIXME: Ignore the locales |
| 387 | u8::try_from(ch) |
| 388 | .map(|x| x.to_ascii_uppercase() as u32) |
| 389 | .unwrap_or(ch) |
| 390 | } |
| 391 | #[inline] |
| 392 | pub(crate) fn is_uni_digit(ch: u32) -> bool { |
| 393 | // TODO: check with cpython |
no test coverage detected