commit | 7a36f5f34456ee1bc5fc65b449f4f81c835ece50 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Aug 04 05:17:21 2006 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Aug 04 05:17:21 2006 +0000 |
tree | 2bb974cefe8b08be1e52a09ed54fd6f3c84461f3 | |
parent | 9a70f95ee84007d1aef64fd89e1168dba2ae2b83 [diff] |
SF patch #1534048 (bug #1531003): fix typo in error message
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 6b48430..67e6104 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c
@@ -1490,7 +1490,7 @@ if (obj->ob_type->tp_weaklistoffset == 0) { PyErr_SetString(PyExc_AttributeError, - "This object has no __weaklist__"); + "This object has no __weakref__"); return NULL; } assert(obj->ob_type->tp_weaklistoffset > 0);