def _fix_sentence_endings(self, chunks):
        i = 0
        patsearch = self.sentence_end_re.search
        while i < len(chunks)-1:
            if chunks[i+1] == " " and patsearch(chunks[i]):
                chunks[i+1] = "  "
                i += 2
            else:
                i += 1
_fix_sentence_endings(chunks : [string])
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/textwrap.py/TextWrapper._fix_sentence_endings