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

Method wrap

Lib/textwrap.py:316–329  ·  view source on GitHub ↗

wrap(text : string) -> [string] Reformat the single paragraph in 'text' so it fits in lines of no more than 'self.width' columns, and return a list of wrapped lines. Tabs in 'text' are expanded with string.expandtabs(), and all other whitespace characters (including

(self, text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

fillMethod · 0.95
wrapFunction · 0.95
copybutton.jsFile · 0.45
_split_linesMethod · 0.45
format_optionMethod · 0.45

Calls 4

_munge_whitespaceMethod · 0.95
_splitMethod · 0.95
_fix_sentence_endingsMethod · 0.95
_wrap_chunksMethod · 0.95

Tested by

no test coverage detected