code: def block(char):
      """Return the block property assigned to the Unicode character 'char'
      as a string.
  
      >>> block("a")
      'Basic Latin'
      >>> block(chr(0x060C))
      'Arabic'
      >>> block(chr(0xEFFFF))
      'No_Block'
      """
      code = byteord(char)
      i = bisect_right(Blocks.RANGES, code)
      return Blocks.VALUES[i - 1]
  
file_path: catboost/contrib/python/fonttools/fontTools/unicodedata/__init__.py
imports: from __future__ import annotations
  from fontTools.misc.textTools import byteord, tostr
  import re
  from bisect import bisect_right
  from typing import Literal, TypeVar, overload
  from .None import Blocks, Scripts, ScriptExtensions, OTTags
label_desc: Use image node_id 9 for calling a global function with example usage: block(char) and returns: Blocks