diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-05 17:50:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 17:50:45 (GMT) |
commit | 8ecb8962e33930dd56d72004a59336d4b00fce22 (patch) | |
tree | ef8fe41c3531215b14aa0e5768d067535aa57ef0 /Python/crossinterp_exceptions.h | |
parent | 0e77540d86833f0a0ef964ab51f35be9bfb533f9 (diff) | |
download | cpython-8ecb8962e33930dd56d72004a59336d4b00fce22.zip cpython-8ecb8962e33930dd56d72004a59336d4b00fce22.tar.gz cpython-8ecb8962e33930dd56d72004a59336d4b00fce22.tar.bz2 |
gh-121288: Make error message for index() methods consistent (GH-121395)
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.
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions