mirror of
https://github.com/python/cpython.git
synced 2026-08-02 23:25:41 -04:00
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 c45f4f3ebe)
Co-authored-by: Serhiy Storchaka <[email protected]>