We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b7fbc4 commit 5b14cc4Copy full SHA for 5b14cc4
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/TypeNodes.java
@@ -2591,6 +2591,8 @@ long lookup(Object cls,
2591
}
2592
2593
private static long getBuiltinTypeItemsize(PythonBuiltinClassType cls) {
2594
+ // Our formatter currently forces all the case labels on a single line
2595
+ // @formatter:off
2596
return switch (cls) {
2597
case PBytes -> 1;
2598
case PInt -> 4;
@@ -2604,6 +2606,7 @@ private static long getBuiltinTypeItemsize(PythonBuiltinClassType cls) {
2604
2606
case PythonClass -> 40;
2605
2607
default -> 0;
2608
};
2609
+ // @formatter:on
2610
2611
2612
0 commit comments