(locale: &str)
| 250 | /// Check locale names for LC_ALL (handles semicolon-separated locales) |
| 251 | #[cfg(windows)] |
| 252 | fn check_locale_name_all(locale: &str) -> bool { |
| 253 | for part in locale.split(';') { |
| 254 | if !check_locale_name(part) { |
| 255 | return false; |
| 256 | } |
| 257 | } |
| 258 | true |
| 259 | } |
| 260 | |
| 261 | #[pyfunction] |
| 262 | fn setlocale(args: LocaleArgs, vm: &VirtualMachine) -> PyResult { |
no test coverage detected