docs: def _wrap(text, wrap_max=80, indent=4):
      """Wrap text at given width using textwrap module.
  
      text (unicode): Text to wrap. If it's a Path, it's converted to string.
      wrap_max (int): Maximum line length (indent is deducted).
      indent (int): Number of spaces for indentation.
      RETURNS (unicode): Wrapped text.
      """
      indent = indent * ' '
      wrap_width = wrap_max - len(indent)
      if isinstance(text, Path):
          text = path2str(text)
      return textwrap.fill(text, width=wrap_width, initial_indent=indent,
                           subsequent_indent=indent, break_long_words=False,
                           break_on_hyphens=False)