Python Programming - Decorators - Discussion
Discussion Forum : Decorators - General Questions (Q.No. 16)
16.
Which decorator is commonly used for retrying a function with a specified delay in case of failure?
Answer: Option
Explanation:
There is no built-in
@functools.retry
decorator in Python, but custom decorators can be created for retrying a function with a specified delay in case of failure.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers