Skip to content

Commit 8f2c341

Browse files
!fixup
1 parent 551ae17 commit 8f2c341

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Modules/_struct.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,10 +1493,9 @@ lp_ulonglong(_structmodulestate *state, char *p, PyObject *v, const formatdef *f
14931493
Py_DECREF(v);
14941494
if (res < 0) {
14951495
PyErr_Format(state->StructError,
1496-
"'%c' format requires 0 <= number <= %llu (at item %zd)",
1496+
"'%c' format requires 0 <= number <= %llu",
14971497
f->format,
1498-
ULLONG_MAX,
1499-
state->current_arg);
1498+
ULLONG_MAX);
15001499
return -1;
15011500
}
15021501
return res;

0 commit comments

Comments
 (0)