We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4b8c4 commit 2ac3116Copy full SHA for 2ac3116
Objects/genericaliasobject.c
@@ -240,7 +240,7 @@ _Py_make_parameters(PyObject *args)
240
} else if (seen_default) {
241
return PyErr_Format(
242
PyExc_TypeError,
243
- "type parameter %R without a default follows one with a default",
+ "non-default type parameter %R follows default type parameter",
244
t
245
);
246
}
@@ -282,7 +282,7 @@ _Py_make_parameters(PyObject *args)
282
283
284
285
286
t2
287
288
0 commit comments