1 Respuesta
+ 7
Hi Sancho!
@ symbol is used to decorate in python.
Decorators allow us to wrap another function in order to extend the behavior of wrapped function, without permanently modifying it.
Here it is a full detailed answer.
https://tutorialspoint.dev/language/python/decorators-in-python#:~:text=Decorators%20are%20very%20powerful%20and,function%2C%20without%20permanently%20modifying%20it.