mirror of
https://github.com/python/cpython.git
synced 2026-05-11 07:00:24 -04:00
1b218680b7
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 <storchaka@gmail.com>
Source files for various builtin objects