File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ public abstract static class GetNameNode extends Node {
321
321
322
322
@ Specialization
323
323
String doManagedClass (PythonManagedClass obj ) {
324
- return obj .getQualName ();
324
+ return obj .getName ();
325
325
}
326
326
327
327
@ Specialization
@@ -339,7 +339,7 @@ String doNativeClass(PythonNativeClass obj,
339
339
@ TruffleBoundary
340
340
public static String doSlowPath (Object obj ) {
341
341
if (obj instanceof PythonManagedClass ) {
342
- return ((PythonManagedClass ) obj ).getQualName ();
342
+ return ((PythonManagedClass ) obj ).getName ();
343
343
} else if (obj instanceof PythonBuiltinClassType ) {
344
344
return ((PythonBuiltinClassType ) obj ).getName ();
345
345
} else if (PGuards .isNativeClass (obj )) {
You can’t perform that action at this time.
0 commit comments