def blockname(ch):
 assert (isinstance(ch, text_type) and (len(ch) == 1)), repr(ch)
 cp = ord(ch)
 i = (bisect_right(_starts, cp) - 1)
 end = _ends[i]
 if (cp > end):
  return None
 return _names[i]

def blockname ( ch ) : assert ( isinstance ( ch , text_type ) and ( len ( ch ) == 1 ) ) , repr ( ch ) cp = ord ( ch ) i = ( bisect_right ( _starts , cp ) - 1 ) end = _ends [ i ] if ( cp > end ) : return None return _names [ i ]
return the unicode block name for ch .