A = NewType("A", int)
isinstance(1, A)
causes the following error to be reported
Second argument to "isinstance" must be a class or tuple of classes
Class created with NewType cannot be used with instance and class checks (reportArgumentType)
A is referred to as the "Class created with NewType", but A is not a class.
pyright-play