SIGN IN SIGN UP

[3.13] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981) (GH-136031)

Previous error message suggested to use cls.__new__(), which
obviously does not work. Now the error message is the same as for
cls(...).
(cherry picked from commit c45f4f3ebe34529a8db3a7918e8dd2e9f7ce8e86)
S
Serhiy Storchaka committed
3576e1a9545dee13c9dab3ef154b34f95acf4025
Parent: ea25f4a
Committed by GitHub <noreply@github.com> on 6/27/2025, 12:07:22 PM