summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-03-26 18:16:11 -0400
committerLucian Copeland <hierophect@gmail.com>2020-03-26 18:16:11 -0400
commit348df4be2ba1bfc00a7bfab4f0de35beea78a407 (patch)
treee2c588b3abe40afc7b971f0ca7059a01bd2dac9c /py/runtime.c
parentc4db8b87e2c57ca94b8f76e4b07ca02641df714e (diff)
parentaec3b2419b2c52f6f42249207cfe2b6de5d58f61 (diff)
Merge remote-tracking branch 'upstream/master' into stm32x7-setup
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index c1c311ae4..59dcbc7a1 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1172,7 +1172,7 @@ void mp_store_attr(mp_obj_t base, qstr attr, mp_obj_t value) {
mp_raise_AttributeError(translate("no such attribute"));
} else {
nlr_raise(mp_obj_new_exception_msg_varg(&mp_type_AttributeError,
- translate("'%s' object has no attribute '%q'"),
+ translate("'%s' object cannot assign attribute '%q'"),
mp_obj_get_type_str(base), attr));
}
}