Decorators and the use of the @ sign | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Decorators and the use of the @ sign

How can the function print_text when called, in turn calls decor and yet decor is not even within the function print_text

27th Jul 2017, 6:40 PM
Krafty Coder
Krafty Coder - avatar
2 Answers
+ 1
Here is an explanation of the decorator usage: https://code.sololearn.com/cD09ijlIS6Ev/?ref=app
7th Jun 2018, 2:04 AM
Denys Yeromenko
Denys Yeromenko - avatar
0
are you talking about a particular code?
27th Jul 2017, 9:28 PM
Matte
Matte - avatar