ExamVeda
Login
Home
Decorators in Depth
?

How is a decorator applied to a class method in Python?

Answer & Solution
Correct Answer: Option B
A decorator is applied to a class method using the @decorator syntax above the method definition.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.