Skip to content

Commit 8d76a8a

Browse files
committed
fix error message
1 parent 338b352 commit 8d76a8a

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/builtins

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/function/builtins/WrapTpNew.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public Object execute(VirtualFrame frame) {
101101
state |= NOT_CLASS_STATE;
102102
}
103103
throw getRaiseNode().raise(PythonBuiltinClassType.TypeError,
104-
"%s.__new__(X): X is not a type object (%N)", getOwner().getName(), arg0);
104+
"%s.__new__(X): X is not a type object (%p)", getOwner().getName(), arg0);
105105
}
106106
if (isSubtype == null) {
107107
CompilerDirectives.transferToInterpreterAndInvalidate();

0 commit comments

Comments
 (0)