aboutsummaryrefslogtreecommitdiff
path: root/py/parse.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/parse.c
parent0a36a80f96e0951e868f1e253b1c82835a9d0918 (diff)
py: Shorten error messages by using contractions and some rewording.
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c
index 8c1286492..6c5ebbeaf 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -1145,7 +1145,7 @@ mp_parse_tree_t mp_parse(mp_lexer_t *lex, mp_parse_input_kind_t input_kind) {
"unexpected indent");
} else if (lex->tok_kind == MP_TOKEN_DEDENT_MISMATCH) {
exc = mp_obj_new_exception_msg(&mp_type_IndentationError,
- "unindent does not match any outer indentation level");
+ "unindent doesn't match any outer indent level");
} else {
exc = mp_obj_new_exception_msg(&mp_type_SyntaxError,
"invalid syntax");