summaryrefslogtreecommitdiff
blob: 2d2815c1e4b00d26ca6bedde3afcdce6230af8c8 (plain)
1
Improve error message when trying to subclass an instance of :data:`typing.TypeVar`, :data:`typing.ParamSpec`, :data:`typing.TypeVarTuple`, etc. Based on patch by Gregory Beauregard.