The type parameters of generic classes, functions, and type aliases. For classes and functions that are not generic, this will be an empty tuple.
builtins/definition.__type_params__
definition.__type_params__