mirror of
https://github.com/python/cpython.git
synced 2026-05-11 23:18:57 -04:00
3576e1a954
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)