8000
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.
2 parents ea7ca8a + 6575962 commit 7471e97Copy full SHA for 7471e97
shared-bindings/time/__init__.c
@@ -279,7 +279,7 @@ STATIC mp_obj_t time_mktime(mp_obj_t t) {
279
280
mp_obj_tuple_get(t, &len, &elem);
281
if (len != 9) {
282
- mp_raise_TypeError_varg(translate("function takes %d positional arguments but %d were given"), 9);
+ mp_raise_TypeError_varg(translate("function takes %d positional arguments but %d were given"), 9, len);
283
}
284
285
if (mp_obj_get_int(elem[0]) < 2000) {
0 commit comments