Skip to content

Commit 2ac3116

Browse files
committed
But wait there's more
1 parent 1f4b8c4 commit 2ac3116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/genericaliasobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ _Py_make_parameters(PyObject *args)
240240
} else if (seen_default) {
241241
return PyErr_Format(
242242
PyExc_TypeError,
243-
"type parameter %R without a default follows one with a default",
243+
"non-default type parameter %R follows default type parameter",
244244
t
245245
);
246246
}
@@ -282,7 +282,7 @@ _Py_make_parameters(PyObject *args)
282282
} else if (seen_default) {
283283
return PyErr_Format(
284284
PyExc_TypeError,
285-
"type parameter %R without a default follows one with a default",
285+
"non-default type parameter %R follows default type parameter",
286286
t2
287287
);
288288
}

0 commit comments

Comments
 (0)