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 8adcc68 commit bc2becdCopy full SHA for bc2becd
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/object/ObjectNodes.java
@@ -353,7 +353,12 @@ Object id(PythonNativeVoidPtr self) {
353
}
354
355
protected static boolean isDefaultCase(PythonObject object) {
356
- return !(object instanceof PFloat || object instanceof PInt || object instanceof PString || object instanceof PTuple || object instanceof PFrozenSet ||
+ return !(object instanceof PBytes ||
357
+ object instanceof PFrozenSet ||
358
+ object instanceof PTuple ||
359
+ object instanceof PInt ||
360
+ object instanceof PFloat ||
361
+ object instanceof PString ||
362
object instanceof PythonBuiltinClass);
363
364
0 commit comments