code: def _indent(text, amount):
      
      indentation = amount * ' '
      return indentation + ('\n' + indentation).join(text.split('\n'))
docs: Indent a multiline string by some number of spaces.
  
      Parameters
      ----------
      text: str
          The text to be indented
      amount: int
          The number of spaces to indent the text
  
      Returns
      -------
      indented_text