summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index d966d36..dc06cf0 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -8428,7 +8428,8 @@ update_all_slots(PyTypeObject* type)
}
-/* Call __set_name__ on all descriptors in a newly generated type */
+/* Call __set_name__ on all attributes (including descriptors)
+ in a newly generated type */
static int
type_new_set_names(PyTypeObject *type)
{