Searched refs:WS_TRANS (Results 1 – 2 of 2) sorted by relevance
408 WS_TRANS = string.maketrans(string.whitespace, ' ' * len(string.whitespace)) variable423 text = string.translate(text, WS_TRANS)
373 WS_TRANS = {ord(_wschar) : ' ' for _wschar in string.whitespace} variable387 text = text.translate(WS_TRANS)