MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _fix_sentence_endings

Method _fix_sentence_endings

Lib/textwrap.py:192–208  ·  view source on GitHub ↗

_fix_sentence_endings(chunks : [string]) Correct for sentence endings buried in 'chunks'. Eg. when the original text contains "... foo.\nBar ...", munge_whitespace() and split() will convert that to [..., "foo.", " ", "Bar", ...] which has one too few spaces; this m

(self, chunks)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wrapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected