+ 2
There is some issues with decorator
In the first demonstration part, how come it return wrap instead of wrap()?
4 odpowiedzi
+ 2
0
Yep
0
I’ve consult one of my friend. He said return wrap return a actual function while return wrap() return a specific result.
0
Here is an explanation of the decorator usage:
https://code.sololearn.com/cD09ijlIS6Ev/?ref=app