@@ -232,7 +232,7 @@ protected Object doGeneric(Object self, Object idx) {
232
232
if (!isValidIndexType (idx )) {
233
233
throw raise (TypeError , "list indices must be integers or slices, not %p" , idx );
234
234
}
235
- throw raise (TypeError , "descriptor '__delitem__' requires a 'list' object but received a '%p'" , idx );
235
+ throw raise (TypeError , "descriptor '__delitem__' requires a 'list' object but received a '%p'" , idx );
236
236
}
237
237
238
238
protected boolean isValidIndexType (Object idx ) {
@@ -318,7 +318,7 @@ protected Object doGeneric(Object self, Object idx) {
318
318
if (!isValidIndexType (idx )) {
319
319
throw raise (TypeError , "list indices must be integers or slices, not %p" , idx );
320
320
}
321
- throw raise (TypeError , "descriptor '__getitem__' requires a 'list' object but received a '%p'" , idx );
321
+ throw raise (TypeError , "descriptor '__getitem__' requires a 'list' object but received a '%p'" , idx );
322
322
}
323
323
324
324
protected boolean isValidIndexType (Object idx ) {
@@ -400,7 +400,7 @@ protected Object doGeneric(Object self, Object idx, Object value) {
400
400
if (!isValidIndexType (idx )) {
401
401
throw raise (TypeError , "list indices must be integers or slices, not %p" , idx );
402
402
}
403
- throw raise (TypeError , "descriptor '__setitem__' requires a 'list' object but received a '%p'" , idx );
403
+ throw raise (TypeError , "descriptor '__setitem__' requires a 'list' object but received a '%p'" , idx );
404
404
}
405
405
406
406
protected boolean isValidIndexType (Object idx ) {
0 commit comments