diff options
Diffstat (limited to 'py/objset.c')
| -rw-r--r-- | py/objset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objset.c b/py/objset.c index fc124fcd8..97fce61d6 100644 --- a/py/objset.c +++ b/py/objset.c @@ -68,7 +68,7 @@ STATIC void check_set(mp_obj_t o) { if (MP_OBJ_IS_TYPE(o, &mp_type_frozenset)) { // Mutable method called on frozenset; emulate CPython behavior, eg: // AttributeError: 'frozenset' object has no attribute 'add' - mp_raise_msg(&mp_type_AttributeError, "'frozenset' has no such attribute"); + mp_raise_AttributeError("'frozenset' has no such attribute"); } #endif mp_check_self(MP_OBJ_IS_TYPE(o, &mp_type_set)); |
