code: def _get_indentword(source):
      
      indent_word = '    '  # Default in case source has no indentation
      try:
          for t in generate_tokens(source):
              if t[0] == token.INDENT:
                  indent_word = t[1]
                  break
      except (SyntaxError, tokenize.TokenError):
          pass
      return indent_word
docs: Return indentation type.