Multiple ChoiceHard 30s
Descriptors
The __get__/__set__ protocol implements:
Options
- 1Descriptors — the basis of property, classmethod, and staticmethod
- 2Context managers that wrap blocks in the with protocol
- 3Decorators that wrap functions to modify their behavior
- 4Iterators that yield the next value lazily via __next__
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.