MCPcopy Index your code
hub / github.com/PDFMathTranslate/PDFMathTranslate / remove_control_characters

Function remove_control_characters

pdf2zh/translator.py:36–37  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

34
35
36def remove_control_characters(s):
37 return "".join(ch for ch in s if unicodedata.category(ch)[0] != "C")
38
39
40class BaseTranslator:

Callers 1

do_translateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected