Skip to content

Commit 18909fd

Browse files
committed
Fix style
1 parent 8fd43b7 commit 18909fd

File tree

1 file changed

+0
-8
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi

1 file changed

+0
-8
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/CExtNodes.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3371,14 +3371,6 @@ private static int getPrec(String prec) {
33713371
return Integer.parseInt(prec);
33723372
}
33733373

3374-
private static char getFormatChar(String format, int idx, PRaiseNode raiseNode) {
3375-
char c = format.charAt(idx);
3376-
if (c > 127) {
3377-
throw raiseNode.raise(PythonBuiltinClassType.ValueError, "PyUnicode_FromFormatV() expects an ASCII-encoded format string, got a non-ASCII byte: 0x%02x", c);
3378-
}
3379-
return c;
3380-
}
3381-
33823374
/**
33833375
* Read an element from the {@code va_list} with the specified type and cast it to a Java
33843376
* {@code int}. Throws a {@code SystemError} if this is not possible.

0 commit comments

Comments
 (0)