This PR makes some improvements related to generic types.
It adds public generic type vars so the documentation is rendered more nicely and we get documentation on the type parameters.
It also extends the use of covariance for other classes or functions that work like containers that don't change the underlying data, so they can be used more flexibly.
This PR makes some improvements related to generic types.
It adds public generic type vars so the documentation is rendered more nicely and we get documentation on the type parameters.
It also extends the use of covariance for other classes or functions that work like containers that don't change the underlying data, so they can be used more flexibly.