docs: def _gorg(a):
      """Return the farthest origin of a generic class (internal helper)."""
      assert isinstance(a, GenericMeta)
      while a.__origin__ is not None:
          a = a.__origin__
      return a