Skip to content

Commit 0cb9edf

Browse files
committed
move misplaced continue
1 parent 4c1b25e commit 0cb9edf

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/bytes

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/bytes/BytesUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ public static byte[] fromList(PythonCore core, PList list) {
8888
long integer = ((PInt) item).intValueExact();
8989
if (integer >= 0 && integer < 256) {
9090
bytes[i] = (byte) integer;
91+
continue;
9192
}
9293
} catch (ArithmeticException e) {
9394
}
94-
continue;
9595
} else {
9696
throw core.raise(TypeError, "'%s' object cannot be interpreted as an integer", core.lookupType(item.getClass()));
9797
}

0 commit comments

Comments
 (0)