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

Method _wrap_chunks

Lib/textwrap.py:243–311  ·  view source on GitHub ↗

_wrap_chunks(chunks : [string]) -> [string] Wrap a sequence of text chunks and return a list of lines of length 'self.width' or less. (If 'break_long_words' is false, some lines may be longer than this.) Chunks correspond roughly to words and the whitespace between

(self, chunks)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wrapMethod · 0.95

Calls 6

_handle_long_wordMethod · 0.95
stripMethod · 0.80
reverseMethod · 0.45
appendMethod · 0.45
popMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected