Python Programming - Decorators - Discussion

Discussion Forum : Decorators - General Questions (Q.No. 18)
18.
Which decorator is commonly used for rate-limiting function calls?
@functools.ratelimit
@functools.limitrate
@functools.ratelimiter
@functools.limitcalls
Answer: Option
Explanation:
There is no built-in @functools.ratelimit decorator in Python, but custom decorators can be created for rate-limiting function calls.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.