parameters: (func)
docstring: get type variable for func() from builtin registry
docstring_summary: get type variable for func() from builtin registry
docstring_tokens: get type variable for func () from builtin registry
function: def get_global_func_typ(func):
      """get type variable for func() from builtin registry"""
      for (k, v) in typing.templates.builtin_registry.globals:
          if k == func:
              return v
      raise RuntimeError("func type not found {}".format(func))
function_tokens: def get_global_func_typ ( func ) : for ( k , v ) in typing . templates . builtin_registry . globals : if k == func : return v raise RuntimeError ( "func type not found {}" . format ( func ) )