summaryrefslogtreecommitdiff
path: root/py/argcheck.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-20 21:02:11 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-20 14:33:10 +1000
commitb01f66c5f1a0ceb14f0a864cd068874ec69258e1 (patch)
treea61d0f078be5394318dccd948a1c6eb669cbbdfb /py/argcheck.c
parent0a36a80f96e0951e868f1e253b1c82835a9d0918 (diff)
py: Shorten error messages by using contractions and some rewording.
Diffstat (limited to 'py/argcheck.c')
-rw-r--r--py/argcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/argcheck.c b/py/argcheck.c
index c018f3fe7..c2b1b6c07 100644
--- a/py/argcheck.c
+++ b/py/argcheck.c
@@ -41,7 +41,7 @@ void mp_arg_check_num_sig(size_t n_args, size_t n_kw, uint32_t sig) {
if (MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_TERSE) {
mp_arg_error_terse_mismatch();
} else {
- mp_raise_TypeError("function does not take keyword arguments");
+ mp_raise_TypeError("function doesn't take keyword arguments");
}
}