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

Function wrap

Lib/textwrap.py:343–354  ·  view source on GitHub ↗

Wrap a single paragraph of text, returning a list of wrapped lines. Reformat the single paragraph in 'text' so it fits in lines of no more than 'width' columns, and return a list of wrapped lines. By default, tabs in 'text' are expanded with string.expandtabs(), and all other white

(text, width=70, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

wrapMethod · 0.95
TextWrapperClass · 0.70

Tested by

no test coverage detected