This attribute points at the non-parameterized generic class:
genericalias.__origin__
>>> list[int].__origin__ <class 'list'>