MCPcopy Index your code
hub / github.com/dbcli/pgcli / wrap_string

Method wrap_string

pgcli/pyev.py:217–220  ·  view source on GitHub ↗
(self, line, width)

Source from the content-addressed store, hash-verified

215 return "│ "
216
217 def wrap_string(self, line, width):
218 if width == 0:
219 return [line]
220 return textwrap.wrap(line, width)
221
222 def intcomma(self, value):
223 sep = ","

Callers 1

create_linesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected