Skip to content

Commit 72d723e

Browse files
committed
correct error message
1 parent fa7e428 commit 72d723e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/PythonBuiltinClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void setAttribute(Object name, Object value) {
5151
if (name instanceof HiddenKey || !PythonLanguage.getCore().isInitialized()) {
5252
setAttributeUnsafe(name, value);
5353
} else {
54-
throw PythonLanguage.getCore().raise(TypeError, "can't set attributes of built-in/extension type '%s'", name);
54+
throw PythonLanguage.getCore().raise(TypeError, "can't set attributes of built-in/extension type '%p'", name);
5555
}
5656
}
5757

0 commit comments

Comments
 (0)