Question 470: Which built-in decorator is used to enforce that a function is only called once?
tcs
wipro
infosys
general
aptitude
decorators
python-programming
The@functools.singledispatchdecorator is used to define a single-dispatch generic function, ensuring that the function is only called once for a particular type.