Intermediate Python
Q60 / 101

What is a descriptor in Python?

Correct! Well done.

Incorrect.

The correct answer is B) An object implementing __get__, __set__, or __delete__ to customize attribute access

B

Correct Answer

An object implementing __get__, __set__, or __delete__ to customize attribute access

Explanation

Descriptors power @property, classmethod, and staticmethod. They allow custom logic when an attribute is accessed, set, or deleted.

Progress
60/101