def _ToPretty(text, indent, linelength):
  """Makes huge text lines pretty, or at least printable."""
  tl = linelength - indent
  output = ''
  for i in range(0, len(text), tl):
    if output:
      output += '\n'
    output += ' ' * indent + text[i:i+tl]
  return output
dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py/_ToPretty/original