Skip to content

Commit f2627e5

Browse files
committed
eclipseformat
1 parent c3e8923 commit f2627e5

File tree

1 file changed

+3
-3
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list/ListBuiltins.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ protected Object doGeneric(Object self, Object idx) {
232232
if (!isValidIndexType(idx)) {
233233
throw raise(TypeError, "list indices must be integers or slices, not %p", idx);
234234
}
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);
236236
}
237237

238238
protected boolean isValidIndexType(Object idx) {
@@ -318,7 +318,7 @@ protected Object doGeneric(Object self, Object idx) {
318318
if (!isValidIndexType(idx)) {
319319
throw raise(TypeError, "list indices must be integers or slices, not %p", idx);
320320
}
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);
322322
}
323323

324324
protected boolean isValidIndexType(Object idx) {
@@ -400,7 +400,7 @@ protected Object doGeneric(Object self, Object idx, Object value) {
400400
if (!isValidIndexType(idx)) {
401401
throw raise(TypeError, "list indices must be integers or slices, not %p", idx);
402402
}
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);
404404
}
405405

406406
protected boolean isValidIndexType(Object idx) {

0 commit comments

Comments
 (0)