gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981)
Previous error message suggested to use cls.__new__(), which obviously does not work. Now the error message is the same as for cls(...).
S
Serhiy Storchaka committed
c45f4f3ebe34529a8db3a7918e8dd2e9f7ce8e86
Parent: f3aec60
Committed by GitHub <noreply@github.com>
on 6/27/2025, 11:35:55 AM