Count the total number of wide characters contained in a string
(string: str)
| 21 | |
| 22 | |
| 23 | def _count_wchars(string: str) -> int: |
| 24 | "Count the total number of wide characters contained in a string" |
| 25 | return sum(_is_wide_character(c) for c in string) |
| 26 | |
| 27 | |
| 28 | def unicode_ljust(string: str, width: int, fillbyte: str = ' ') -> str: |
no test coverage detected