Set Name Method of the Descriptor Protocol

Signature of the __set_name__ method

This is a relatively new method that was added in Python 3.6, and it has this structure:

Get hands-on with 1200+ tech skills courses.