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

Function wrap_text

Lib/distutils/fancy_getopt.py:410–466  ·  view source on GitHub ↗

wrap_text(text : string, width : int) -> [string] Split 'text' into multiple lines of no more than 'width' characters each, and return the list of strings that results.

(text, width)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generate_helpMethod · 0.85

Calls 6

expandtabsMethod · 0.80
translateMethod · 0.80
splitMethod · 0.80
filterFunction · 0.50
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected