bpo-46642: Explicitly disallow subclassing of instaces of TypeVar, ParamSpec, etc (GH-31148)
The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
G
Gregory Beauregard committed
81e91c95a51daaa77efa3a3758ecba0475cfef38
Parent: 605e9c6
Committed by GitHub <noreply@github.com>
on 6/25/2022, 6:35:33 AM