summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-05 17:50:45 (GMT)
committerGitHub <noreply@github.com>2024-07-05 17:50:45 (GMT)
commit8ecb8962e33930dd56d72004a59336d4b00fce22 (patch)
treeef8fe41c3531215b14aa0e5768d067535aa57ef0 /Python
parent0e77540d86833f0a0ef964ab51f35be9bfb533f9 (diff)
downloadcpython-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')
0 files changed, 0 insertions, 0 deletions