def find_combining_chars(text):
 if (isinstance(text, str) and (sys.version_info < (3, 0))):
  return []
 return [i for (i, c) in enumerate(text) if unicodedata.combining(c)]

def find_combining_chars ( text ) : if ( isinstance ( text , str ) and ( sys . version_info < ( 3 , 0 ) ) ) : return [ ] return [ i for ( i , c ) in enumerate ( text ) if unicodedata . combining ( c ) ]
return indices of all combining chars in unicode string text .