Skip to content

Commit d365a44

Browse files
committed
revert spelling mistake in exception message as it is part of the public api
1 parent dc7d33e commit d365a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_pickle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4010,7 +4010,7 @@ save_reduce(PickleState *st, PicklerObject *self, PyObject *args,
40104010
size = PyTuple_Size(args);
40114011
if (size < 2 || size > 6) {
40124012
PyErr_SetString(st->PicklingError, "tuple returned by "
4013-
"__reduce__ must contain 2 to 6 elements");
4013+
"__reduce__ must contain 2 through 6 elements");
40144014
return -1;
40154015
}
40164016

0 commit comments

Comments
 (0)