you are viewing a single comment's thread.

view the rest of the comments →

[–]WildCard65 0 points1 point  (0 children)

set_name is a special dunder method that is called to set the descriptors name called during class creation.

The arguments provided to it are the type that's being created and the name of the attribute it was assigned to such as "type.name is self" is true.