code: def _indent(text, istr=_rst_indentstr):
      """Simple indenter"""
      return "\n".join(istr + s for s in text.split("\n"))
  
file_path: datalad/datalad/dochelpers.py
imports: import logging
  import re
  import textwrap
  import os
  import sys
  import traceback
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 5 for calling a global function with example usage: _indent(text, istr) and returns: str