def _get_indentword(source):
 indent_word = u'    '
 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

def _get_indentword ( source ) : indent_word = u'    ' 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
return indentation type .