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 51dbf7e commit bc60c9bCopy full SHA for bc60c9b
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/TypeNodes.java
@@ -472,12 +472,17 @@ public abstract static class GetSuperClassNode extends Node {
472
public abstract Object execute(Object obj);
473
474
@Specialization
475
- static Object doManaged(PythonManagedClass obj) {
+ static Object doPythonClass(PythonClass obj) {
476
return obj.getSuperClass();
477
}
478
479
480
- static Object doBuiltin(PythonBuiltinClassType obj) {
+ static Object doBuiltin(PythonBuiltinClass obj) {
481
+ return obj.getType().getBase();
482
+ }
483
+
484
+ @Specialization
485
+ static Object doBuiltinType(PythonBuiltinClassType obj) {
486
return obj.getBase();
487
488
0 commit comments