diff options
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index d1bc681..424caeb 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -254,7 +254,7 @@ getattr(v, name) char *name; { if (v->ob_type->tp_getattr == NULL) { - err_setstr(TypeError, "attribute-less object"); + err_setstr(AttributeError, "attribute-less object"); return NULL; } else { |