Skip to content

Commit 59130f8

Browse files
committed
_collections._tuplegetter: fix error message missing typo
1 parent b7712e4 commit 59130f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __get__(self, instance, owner=None):
7878
if instance is None:
7979
return self
8080
raise TypeError("descriptor for index '%d' for tuple subclasses "
81-
"doesn't apply to '%s' object", index, instance)
81+
"doesn't apply to '%s' object" % (index, instance))
8282
if index >= len(instance):
8383
raise IndexError("tuple index out of range")
8484

0 commit comments

Comments
 (0)