Check if character is a punctuation character.
(ch: str)
| 195 | |
| 196 | |
| 197 | def isPunctChar(ch: str) -> bool: |
| 198 | """Check if character is a punctuation character.""" |
| 199 | return unicodedata.category(ch).startswith(("P", "S")) |
| 200 | |
| 201 | |
| 202 | MD_ASCII_PUNCT = { |
no outgoing calls
no test coverage detected
searching dependent graphs…