mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
Make error message for index() methods consistent Remove the repr of the searched value (which can be arbitrary large) from ValueError messages for list.index(), range.index(), deque.index(), deque.remove() and ShareableList.index(). Make the error messages consistent with error messages for other index() and remove() methods.
Source files for various builtin objects