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 97b361e commit 0415089Copy full SHA for 0415089
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/TypeBuiltins.java
@@ -111,8 +111,9 @@ public abstract static class ReprNode extends PythonUnaryBuiltinNode {
111
112
@Specialization
113
public String repr(PythonClass self,
114
+ @Cached("create()") ReadAttributeFromObjectNode readModuleNode,
115
@Cached("create(__GETATTRIBUTE__)") LookupAndCallBinaryNode readQualNameNode) {
- Object moduleName = self.getAttribute(__MODULE__);
116
+ Object moduleName = readModuleNode.execute(self, __MODULE__);
117
Object qualName = readQualNameNode.executeObject(self, __QUALNAME__);
118
return concat(moduleName, qualName);
119
}
0 commit comments