def _pretty_longstring(defstr, prefix=u'', wrap_at=65):
 outstr = u''
 for line in textwrap.fill(defstr, wrap_at).split(u'\n'):
  outstr += ((prefix + line) + u'\n')
 return outstr

def _pretty_longstring ( defstr , prefix = u'' , wrap_at = 65 ) : outstr = u'' for line in textwrap . fill ( defstr , wrap_at ) . split ( u'\n' ) : outstr += ( ( prefix + line ) + u'\n' ) return outstr
helper function for pretty-printing a long string .