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 338b352 commit 8d76a8aCopy full SHA for 8d76a8a
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/builtins/WrapTpNew.java
@@ -101,7 +101,7 @@ public Object execute(VirtualFrame frame) {
101
state |= NOT_CLASS_STATE;
102
}
103
throw getRaiseNode().raise(PythonBuiltinClassType.TypeError,
104
- "%s.__new__(X): X is not a type object (%N)", getOwner().getName(), arg0);
+ "%s.__new__(X): X is not a type object (%p)", getOwner().getName(), arg0);
105
106
if (isSubtype == null) {
107
CompilerDirectives.transferToInterpreterAndInvalidate();
0 commit comments