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.
2 parents 8a8c3f0 + a51740e commit 8968d8cCopy full SHA for 8968d8c
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/MroShape.java
@@ -147,7 +147,7 @@ public Object getFromMro(MroSequenceStorage mro, Object key) {
147
if (mroIndex == NOT_FOUND_INDEX) {
148
return PNone.NO_VALUE;
149
} else {
150
- Object result = readNode.execute(PythonManagedClass.cast(mro.getItemNormalized(mroIndex)), key);
+ Object result = readNode.execute(mro.getItemNormalized(mroIndex), key);
151
// We must not get NO_VALUE because that would mean the MROShape contains a class
152
// with NO_VALUE properties and cannot be used to lookup properties only by shapes
153
assert result != PNone.NO_VALUE : mro.getClassName() + "." + key;
0 commit comments