docs: def get(cls, func_hint):
          """Return a registered hash function matching the given hint.
  
          The hint may be a `Func` member, a function name (with hyphens or
          underscores), or its code.  A `Func` member is returned for standard
          multihash functions and an integer code for application-specific ones.
          If no matching function is registered, a `KeyError` is raised.
  
          >>> fm = FuncReg.get(Func.sha2_256)
          >>> fnu = FuncReg.get('sha2_256')
          >>> fnh = FuncReg.get('sha2-256')
          >>> fc = FuncReg.get(0x12)
          >>> fm == fnu == fnh == fc
          True
          """
          # Different possibilities of `func_hint`, most to least probable.
          try:  # `Func` member (or its value)
              return Func(func_hint)
          except ValueError:
              pass
          if func_hint in cls._func_from_name:  # `Func` member name, extended
              return cls._func_from_name[func_hint]
          if func_hint in cls._func_hash:  # registered app-specific code
              return func_hint
          raise KeyError("unknown hash function", func_hint)