Skip to content

Commit 24d5018

Browse files
committed
ErrorMessages: fix 'args must be' error messages
1 parent f91b8c9 commit 24d5018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/ErrorMessages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public abstract class ErrorMessages {
5757
public static final String ARG_IS_EMPTY_SEQ = "%s() arg is an empty sequence";
5858
public static final String ARG_MUST_BE_INT_OR_HAVE_FILENO_METHOD = "argument must be an int, or have a fileno() method.";
5959
public static final String ARG_MUST_BE_NUMBER = "%s argument must be a number, not '%p'";
60-
public static final String ARG_MUST_BE_S_NOT_P = "%s argument must be a %s, not %p";
60+
public static final String ARG_MUST_BE_S_NOT_P = "%s argument must be %s, not %p";
6161
public static final String ARGUMENTS_MUST_BE_ITERATORS = "Arguments must be iterators";
62-
public static final String S_BRACKETS_ARG_MUST_BE_S_NOT_P = "%s() argument must be a %s, not %p";
62+
public static final String S_BRACKETS_ARG_MUST_BE_S_NOT_P = "%s() argument must be %s, not %p";
6363
public static final String S_BRACKETS_ARG_MUST_BE_READ_WRITE_BYTES_LIKE_NOT_P = "%s() argument must be read-write bytes-like object, not %p";
6464
public static final String ARG_MUST_BE_CALLABLE = "argument must be callable";
6565
public static final String S_ARG_MUST_BE_CALLABLE = "%s argument must be callable";

0 commit comments

Comments
 (0)