Searched refs:_trim_whitespace (Results 1 – 3 of 3) sorted by relevance
309 singular = self._trim_whitespace(singular)311 plural = self._trim_whitespace(plural)322 def _trim_whitespace(self, string, _ws_re=re.compile(r'\s*\n\s*')): member in InternationalizationExtension
326 singular = self._trim_whitespace(singular)328 plural = self._trim_whitespace(plural)344 def _trim_whitespace(self, string, _ws_re=_ws_re): member in InternationalizationExtension