Upstream dgilland/pydash state of the touched files before 7ab4f88640

This commit is contained in:
upstream committed 2026-09-04 09:18:56 +02:00
1 parent 9194f6d3ad
commit b129d1f04f
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -1794,7 +1794,7 @@ def sorted_last_index_of(
"""
index = sorted_last_index(array, value) - 1
if 0 <= index < len(array) and array[index] == value:
if index < len(array) and array[index] == value:
return index
else:
return -1